You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our definition of variable and function ID requires starting with a letter or underscore:
VAR_ID : '$' ID ;
ID
: [\p{L}_] [\p{L}0-9_]*
| BACK_QUOTE ~[`]* BACK_QUOTE;
There is a test case (token-conversion/case002.json) from jsonata.org that fails if I enable numbers for the first letter (you can experiment using "aa" as the first label and then finding $.aa, or using "a7" as the first label and then finding $.a7, but $.7a fails.
The code I tried:
as the following screenshots:
However, this can correctly compile and execute on https://try.jsonata.org/
The text was updated successfully, but these errors were encountered: