Fixed: #2536 AS3 regexp highlighting / compilation

This commit is contained in:
Jindra Petřík
2025-09-30 19:59:21 +02:00
parent 165b0f9db5
commit cd352e12f7
6 changed files with 547 additions and 552 deletions

View File

@@ -241,7 +241,7 @@ VerbatimString = "@\"" {VerbatimStringCharacter}* "\""
NamespaceSuffix = "#" {DecIntegerLiteral}
RegExp = \/([^\r\n/]|\\\/)+\/[a-z]*
RegExp = \/([^\r\n/\\]|\\.)+\/[a-z]*
%state STRING, CHARLITERAL,XMLOPENTAG,XMLCLOSETAGFINISH,XMLOPENTAGATTRIB,XMLINSTR,XMLCDATA,XMLCOMMENT,XML,OIDENTIFIER,XMLCDATAALONE,XMLCOMMENTALONE