This syantax are not working on Antlr4 #4332
zimaamzayn
started this conversation in
General
Replies: 2 comments 7 replies
-
These look like JavaScript patterns, not Antlr4 onesEnvoyé de mon iPhoneLe 25 juin 2023 à 15:13, zimaamzayn ***@***.***> a écrit :
NUMBER:
/-?(0|[1-9][0-9]*)(.[0-9]+)?([eE][+-]?[0-9]+)?/;
STRING:
/'([^'\\]|\(.|\n))'/ | /"([^"\\]|\(.|\n))"/;
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Please use Github Quoted Block syntax so I can copy and paste this text to a file. Or, place this code in a .txt file and attach it. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
NUMBER:
/-?(0|[1-9][0-9]*)(.[0-9]+)?([eE][+-]?[0-9]+)?/;
STRING:
/'([^'\\]|\(.|\n))'/ | /"([^"\\]|\(.|\n))"/;
Beta Was this translation helpful? Give feedback.
All reactions