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.

#792 Decompiled code cannot be ran because of RegExp.
Author:
zhengdk

Date created:
Type: bug
Visibility: Everybody
Assigned to:
JPEXS

Labels: AS3
State: closed 

> What steps will reproduce the problem?
Decompile the uploaded file, then scrpits -> connection -> api_port -> PortAPI
> What is the expected output? What do you see instead?
If copy the syntax that contains "new RegExp" to a new project, it shows error.
> What version of the product are you using? On what operating system?
4.0.5 win8.1
> Please provide any additional information below. Attach the file you have problem with
if neccessary. If you do not want to publish files YOU CAN CHANGE VISIBILITY TO PRIVATE
Actually if I change "new RegExp" to barely "RegExp", then the errors disappear. The
PortAPI file does the work to create a authorization key, and its codes are made really
hard to read.

'If copy the syntax that contains "new RegExp" to a new project' - which project? Which
compiler? Flash CC?
I try it in Flash CS6 and it compiles okay to ne. Or what error does it show?
Assigned: →
JPEXS

in current nightly(1202+), RegExp syntax was improved, try it.
State: new→upgraded
I close this issue due to inactivity. Please create new issue if problem still exists.
State: upgraded→closed