Thank you very match. You are completely right. RegExp.exec is
suitable for me.
On Jan 20, 5:15 pm, "T.J. Crowder" <t...@crowdersoftware.com> wrote:
> On Jan 20, 1:06 pm, Dmitry Trunikov <dmitry.truni...@gmail.com> wrote:
> > Hi ALL!
> > how can i obtain of matched substrings in RegExp object?
> > the prototypejs masks original RegExp.match method.
> > the original method returns array of matched strings. the new method
> > just returns true/false only.
> > thanks.
> (neither on `RegExp` nor on its prototype). You're thinking of
> either `RegExp#exec` or `String#match`.
> T.J. Crowder
> Independent Software Engineer
> tj / crowder software / com
> www / crowder software / com
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to email@example.com.
To unsubscribe from this group, send email to
For more options, visit this group at