Improved JS

Test input for nmap
This commit is contained in:
Jesse Portnoy
2023-08-03 20:44:40 +01:00
parent 524a51e3ce
commit 48b37a1547
2 changed files with 12 additions and 0 deletions
+1
View File
@@ -11,6 +11,7 @@ rules:
- constant.number: "\\b[-+]?([0-9]+\\.[0-9]*|[0-9]*\\.[0-9]+)([EePp][+-]?[0-9]+)?[fFlL]?"
- constant.number: "\\b[-+]?([0-9]+[EePp][+-]?[0-9]+)[fFlL]?"
- identifier: "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[(]"
- cyan: "[\\(|\\)|/|+|\\-|\\*|\\[|.|,|;]"
- statement: "\\b(break|case|catch|continue|default|delete|do|else|finally)\\b"
- statement: "\\b(for|function|get|if|in|instanceof|new|return|set|switch)\\b"
- statement: "\\b(switch|this|throw|try|typeof|var|void|while|with|const|let)\\b"