Replies: 1 comment 1 reply
-
Updated the Regex to match WILD_ID first and then ID as in this version and it is parsing the queries fine. Do you see any isses in this format? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have this DSL to support query type of language where field can be one of these
BillingName
(simple field)*Billing
(all fields ending with Billing)*Billing*
(all fields containing Billing)Billing*
(all fields starting with Billing)We have created ID and WILD_ID terminals where WILD_ID has * char support. Out of above 4 options, first 3 are parsing fine and last one doesn't. I think it is due to lexer is consuming
Billing
part of field as ID and leaving just*
which is not matching anything else.How do we force lexer to treat that
Billing*
as WILD_ID instead of ID?Beta Was this translation helpful? Give feedback.
All reactions