Fix search language parser accepting only ASCII input, not full Unicode
@@ -28,7 +28,8 @@ namespace carto {
using qi::_1;
using qi::_2;
- unesc_char.add("\\a", '\a')("\\b", '\b')("\\f", '\f')("\\n", '\n')
+ unesc_char.add
+ ("\\a", '\a')("\\b", '\b')("\\f", '\f')("\\n", '\n')
("\\r", '\r')("\\t", '\t')("\\v", '\v')("\\\\", '\\')
("\\\'", '\'')("\\\"", '\"');
@@ -44,7 +45,7 @@ namespace carto {
regexp_ilike_kw = repo::distinct(qi::char_("a-zA-Z0-9_"))[qi::no_case["regexp_ilike"]];
string =
- '\'' >> *(unesc_char | "\\x" >> qi::hex | (qi::print - '\'')) >> '\'';
+ '\'' >> *(unesc_char | "\\x" >> qi::hex | (qi::char_ - '\'')) >> '\'';
value =
null_kw [_val = phx::construct<Value>()]
