Please note that RegExp.$1 is not part of the spec. The implementation in V8 is done in a way to mirror .Net as much as possible. Ignoring .Captures property that has no equivalent in Javascript, capturing the left-most sub-match inside a lookbehind is what .Net does.
Yang
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

