+ update 2020: WARNING - support of the decompiler is now VERY LIMITED. There are no active developers. This means we will NOT develop new features and/or fix most of bugs. We left the tracker running in case somebody from community would like to work on it. Sorry for the inconvenience.
State: closed new: Initial state. As long as issue is in this state, the work on the issue has not yet begun. opened: Opened state means developer started working on the issue. Feature/Fix will probably be in the next release. postponed: This means developer is not working on it now, for some reason it cannot be implemented now. Issue may be opened again in the future. upgraded: Issue is in upgraded state when developer made changes to the program and new version was released. closed: This means the user is satisfied with issue results and no more changes are needed. invalid: These issues cannot be solved. ignored: Developer decided to take no action on this issue. returned: Program changes were made but user is not satisfied and returned the issue.
I am trying to write a simple AS3 script to replace a part of a string, with the help of
RegExp. However, if I try using /regex/, it tells me that "CURLY_CLOSE expected, DIVIDE
found". As a workaround, I tried using "var test:RegExp = new RegExp("/regex/", "");",
however this does not work for the thing I am working on (Fallout 4 game HUD, in short),
and it causes a crash if I force it.
In short, this line throws an error:
"var _loc10_:RegExp = /<..> /;"
I am sorry, very new to AS3, however I found an online interpreter and tested stuff there
first. Checked Adobe website for Regex and etc... and the line above should be valid, or
am I doing something wrong?
Using JPEXS 7.1.1, on Win7 64bit, latest Flash Player and playerglobal_19.swc.