From a508e4d6db48d84b9a773c2438ae6acf172e292f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Thu, 25 Feb 2021 07:40:25 +0100 Subject: [PATCH] Fixed: #1336 AS3 direct editation - Regexp / character escaping --- CHANGELOG.md | 4 ++++ .../flash/abc/avm2/parser/script/ActionScript3Parser.java | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 47e48c90b..0bfe48738 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Change Log All notable changes to this project will be documented in this file. +## [Unreleased] +### Fixed +- #1336 AS3 direct editation - Regexp / character escaping + ## [14.0.0] - 2021-02-24 ### Added - #1202 Check for modifications outside FFDec and ask user to reload diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/ActionScript3Parser.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/ActionScript3Parser.java index d70944ab5..3243b449b 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/ActionScript3Parser.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/ActionScript3Parser.java @@ -2241,7 +2241,6 @@ public class ActionScript3Parser { int spos = p.lastIndexOf('/'); String mod = p.substring(spos + 1); p = p.substring(0, spos); - p = p.replace("\\/", "/"); ret = new RegExpAvm2Item(p, mod, null, null); allowMemberOrCall = true;