diff --git a/src/parser/core-parser.pegjs b/src/parser/core-parser.pegjs index 3a7a773..cb6d103 100644 --- a/src/parser/core-parser.pegjs +++ b/src/parser/core-parser.pegjs @@ -107,8 +107,8 @@ search }); } -search_query = - head:CHAR tail:(!([  \t] search_keyToken ENDLINE) c:CHAR { return c; })* +search_query + = head:CHAR tail:(!([  \t] search_keyToken ENDLINE) c:CHAR { return c; })* { return head + tail.join(''); }