fix scanner and update regexes

This commit is contained in:
danhanson committed 2026-09-06 05:01:03 -05:00
1 parent 140e099275
commit d86f6533a8
6 files changed
+1312 -1270

No files matched your search

+2 -2
View File
@@ -138,11 +138,11 @@
},
"number": {
"type": "PATTERN",
"value": "-?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:[eE]-?[0-9]+)?"
"value": "[-+]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:[eE][0-9]+)?"
},
"string": {
"type": "PATTERN",
"value": "\"(?:[^\"\\\\]|\\\\\\\\|\\\\\")*\"|'(?:[^'\\\\]|\\\\\\\\|\\\\')*'"
"value": "\"(?:[^\"\\\\]|\\\\[^\\n])*\"|'(?:[^'\\\\]|\\\\[^\\n])*'"
},
"attribute": {
"type": "PATTERN",