JPEXS Free Flash Decompiler Issue Tracker

If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler

NEW : We have got a new blog where we post some interesting SWF internals info.

List of issuesList of issues

#1159 regex syntax hiligthing for non regex expressions
Author: developer honfika
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: GUI
State: closed Help

> What steps will reproduce the problem? Open SWF from /www.free-decompiler.com/flash/issues/1158-missing-sprite-visual Find: var _loc2_:int = this.mcSwipe.width / 2 + (_loc1_ * this._gatherData.length / 2 + ELEMENT_DIFF * (this._gatherData.length - 1) / 2) - _loc1_; in actionscript. Or check the attached image. > What is the expected output? What do you see instead? Current: "2 + (_loc1_ * this._gatherData.length" is orange as stings (+regex) But this is not a regex. > What version of the product are you using? Is it "nightly build"? Which operating system do you have? Latest. > Please provide any additional information below. If the problem is related to a SWF file, attach it here, otherwise we can't help you.
admin
I know, but it is hard to fix, since jsyntaxpane highlighting does not care about expressions - whether it is primary expression (regex) or / operator. To be correct, it will need to use same logic as AS3Parser, which may then become slower.
admin
This should be fixed in nightly 1789. I implemented it the way it checks previous Token and if it is an OPERATOR, then it is handled as RegExp, division otherwise.
State: new→upgraded
admin
State: upgraded→closed