-
Notifications
You must be signed in to change notification settings - Fork 215
Open
Description
See Pull Request #142 for a potential (less than optimal) fix.
The grammer as it is defined will encounter the ')]' in the single-quotes and use this as the end of the filter expression. When it encounters the second single-quote jison will throw a lexical error yielding 'unrecognized text'.
Pull request #142 enables greedy matching which will match the expression to the end resolving this issue but introducing another in the case of mulitple filter expressions, eg
$..[?('expr1')][?('expr2')]
Opening this up to start the discussion and see if any others can determine a solution that works in both cases
Metadata
Metadata
Assignees
Labels
No labels