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

@@ -135,7 +135,7 @@ Preprocessor = \u00A7\u00A7 {Identifier}
NamespaceSuffix = "#" {DecIntegerLiteral}
RegExp = \/([^\r\n/]|\\\/)+\/[a-z]*
RegExp = \/([^\r\n/\\]|\\.)+\/[a-z]*
%state STRING, CHARLITERAL, XMLSTARTTAG, XML, OIDENTIFIER, ADOC, ADOC_TAG

View File

@@ -146,7 +146,7 @@ Preprocessor = \u00A7\u00A7 {Identifier}
NamespaceSuffix = "#" {DecIntegerLiteral}
RegExp = \/([^\r\n/]|\\\/)+\/[a-z]*
RegExp = \/([^\r\n/\\]|\\.)+\/[a-z]*
VerbatimStringCharacter = [^\r\n\"]
VerbatimString = "@\"" {VerbatimStringCharacter}* "\""