I'm new to actionscript, working on avm2..
One thing that I want to know is how to determine if a given regular expression is compiled or not in RegExp Class which use pcre library internally as regular expression compiler.
For example, the following has parenthesis-unmatched regular expression, which may be not compiled in pcre in RegExp class.
var r:RegExp = new RegExp("(a))");
I tried to use try-catch like the following, no exception occured.
try
{
var r:RegExp = new RegExp("(a))");
} catch (e:Error) {
trace('error');
}
I also tried to find solution on the Internet, there seem to be no method or properties for it.
Thanks.