> The fact that s.match(/re/g) returns the array of all matches (with captures) > sucks some of the oxygen away from any /re/g.execAll(s) proposal. > > But String.prototype.match has perlish hair (e.g., those capture groups > showing up in the result array).
Really? AFAICT, only the complete matches (group 0) are returned. -- Dr. Axel Rauschmayer [email protected] home: rauschma.de twitter: twitter.com/rauschma blog: 2ality.com
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

