fix lexer specification - skip keywords if they are part of the search term
This commit is contained in:
@@ -3,9 +3,9 @@ macro
|
||||
L_BRACKET \(
|
||||
R_BRACKET \)
|
||||
SPACE \ + # Space char
|
||||
OPERATOR_OR (?i)or
|
||||
OPERATOR_AND (?i)and
|
||||
OPERATOR_NOT (?i)not
|
||||
OPERATOR_OR (?i)\bor\b
|
||||
OPERATOR_AND (?i)\band\b
|
||||
OPERATOR_NOT (?i)\bnot\b
|
||||
TERM_WITH_QUOTES "([^"]*)"
|
||||
TERM_WITHOUT_QUOTES [a-zA-Z0-9-_]+
|
||||
COLON \:
|
||||
|
||||
Reference in New Issue
Block a user