Code style fixes
This commit is contained in:
parent
c819c9f31e
commit
e1584a33b0
@ -30,11 +30,11 @@ const char *COMMENT_AND_STRING_REGEX =
|
|||||||
"|"
|
"|"
|
||||||
"/\\*.*?\\*/" // C-style comments, '/* ... */'
|
"/\\*.*?\\*/" // C-style comments, '/* ... */'
|
||||||
"|"
|
"|"
|
||||||
"'(?:\\\\'|.)*?'" // Anything inside single quotes, '...', but mind the
|
// Anything inside single quotes, '...', but mind the escaped quote
|
||||||
// escaped quote
|
"'(?:\\\\'|.)*?'"
|
||||||
"|"
|
"|"
|
||||||
"\"(?:\\\\\"|.)*?\""; // Anything inside double quotes, "...", but mind
|
// Anything inside double quotes, "...", but mind the escaped double quote
|
||||||
// the escaped double quote
|
"\"(?:\\\\\"|.)*?\"";
|
||||||
|
|
||||||
const char *IDENTIFIER_REGEX = "[_a-zA-Z]\\w*";
|
const char *IDENTIFIER_REGEX = "[_a-zA-Z]\\w*";
|
||||||
|
|
||||||
|
@ -59,6 +59,7 @@ boost::python::list FilterAndSortCandidates(
|
|||||||
const std::string &candidate_property,
|
const std::string &candidate_property,
|
||||||
const std::string &query ) {
|
const std::string &query ) {
|
||||||
pylist filtered_candidates;
|
pylist filtered_candidates;
|
||||||
|
|
||||||
if ( query.empty() )
|
if ( query.empty() )
|
||||||
return filtered_candidates;
|
return filtered_candidates;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user