Hi.

I am working with RegExp class and using named groups. According to flex
documentation one can specify up to 99 of these backreferences in a regular
expression. But somehow when using Named groups I only get refernce of up to
32 Named groups.

In the following example lets say regEx contains 40 named groups, each
allowing one word character. String str matches this with 40 word
characters. Now arrayResult should contain the values of all the named
groups if the match is found.
But arrayResult contains the corresponding values against first thirty-two
(32) named groups.

*var* regEx : RegExp = */ (?P<NamedGroup1> \w) .... (?P<NamedGroup40> \w) /*
ig;

*var* str:String = *"a ... z"*;

*var* arrayResult:Array = regEx.exec(str);

Could anyone help me in this regard that either we can't use more than 32
named groups or I am missing a trick.

Regards

Sajed

Reply via email to