Search with 2+ arguments using double quotes now working
Bug Fixed: when searching like `column:"test column" column:"test other column"` the regex was matching all the text from the first quote to the last one ignoring the ones between Now it matches the first quote with next. Without the change the search doesn't work with 2 or more arguments using quotes
This commit is contained in:
@@ -29,7 +29,7 @@ class Lexer
|
||||
'/^([<=>]{0,2}[0-9]{4}-[0-9]{2}-[0-9]{2})/' => 'T_STRING',
|
||||
'/^([<=>]{1,2}\w+)/u' => 'T_STRING',
|
||||
'/^([<=>]{1,2}".+")/' => 'T_STRING',
|
||||
'/^("(.+)")/' => 'T_STRING',
|
||||
'/^("(.*?)")/' => 'T_STRING',
|
||||
'/^(\S+)/u' => 'T_STRING',
|
||||
'/^(#\d+)/' => 'T_STRING',
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user