diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-07-01 09:47:10 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-07-01 09:47:10 -0400 |
commit | a089cd72de82acb95986a630b862a4c3090e3e2a (patch) | |
tree | 6616fc5a482d5c1cf981dbc6d4e04ddccb6a7f89 /app/Core | |
parent | 4b94714b3d45656b022228562478514024550732 (diff) |
Fixed lexer issue with non word characters
Diffstat (limited to 'app/Core')
-rw-r--r-- | app/Core/Filter/Lexer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Core/Filter/Lexer.php b/app/Core/Filter/Lexer.php index fa5b8d2d..3ff57641 100644 --- a/app/Core/Filter/Lexer.php +++ b/app/Core/Filter/Lexer.php @@ -30,7 +30,7 @@ class Lexer '/^([<=>]{1,2}\w+)/u' => 'T_STRING', '/^([<=>]{1,2}".+")/' => 'T_STRING', '/^("(.+)")/' => 'T_STRING', - '/^(\w+)/u' => 'T_STRING', + '/^(\S+)/u' => 'T_STRING', '/^(#\d+)/' => 'T_STRING', ); |