mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-26 02:55:29 +00:00
Fixed: #2536 AS3 regexp highlighting / compilation
This commit is contained in:
@@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file.
|
||||
### Fixed
|
||||
- [#2536] AS3 switches detection incorrectly replaces basic ifs with strict equals
|
||||
- [#2536] AS3 switches detection not handling loops
|
||||
- [#2536] AS3 regexp highlighting / compilation
|
||||
|
||||
## [24.1.0] - 2025-09-28
|
||||
### Added
|
||||
|
||||
Binary file not shown.
@@ -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
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -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
|
||||
|
||||
|
||||
@@ -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}* "\""
|
||||
|
||||
Reference in New Issue
Block a user