Hi, I'm getting the following errors with ECMAScript.g4 when running Antlr4:
error(156): ECMAScript.g4:1460:4: invalid escape sequence
error(156): ECMAScript.g4:1470:4: invalid escape sequence
: ~[\r\n\u2028\u2029*\\/\[]
I believe it should be the following because "\[" is not a valid escape character:
: ~[\r\n\u2028\u2029*\\/[]
Can anyone please confirm?
Thanks,
Jason