libgraviton / rql-parser

PHP RQL parser
31 stars 15 forks source link

parenthesis in value is not working. #22

Closed bilal-renegade closed 1 year ago

bilal-renegade commented 2 years ago

Hi

When I searched for SKU PAH-BOC-420(2) it throw an exception. Unexpected token "(" (T_OPEN_PARENTHESIS) (expected T_INTEGER|T_FLOAT|T_STRING|T_DATE) {"userId":243,"exception":"[object] (Graviton\RqlParser\Exception\SyntaxErrorException(code: 0): Unexpected token "(" (T_OPEN_PARENTHESIS) (expected T_INTEGER|T_FLOAT|T_STRING|T_DATE) at /graviton/rql-parser/src/TokenStream.php:86)

above throw exception when I search for like (sku, PAH-BOC-420(2))

narcoticfresh commented 1 year ago

@bilal-renegade re-read the readme..