For future reference: this landed <https://chromium.googlesource.com/v8/v8.git/+/473a6f5b03651fde33fd7b3228a7dc4e38e24914> in V8 v6.2.103 and should thus be available in Chrome 62.
On Mon, Jul 31, 2017 at 2:42 PM, Adam Klein <[email protected]> wrote: > LGTM! > > On Sun, Jul 30, 2017 at 7:18 AM, Mathias Bynens <[email protected]> > wrote: > >> Contact emails >> >> [email protected], [email protected], [email protected], >> [email protected] >> >> Spec >> >> https://github.com/tc39/proposal-regexp-lookbehind (stage 3 proposal) >> >> Summary >> >> Lookarounds are zero-width assertions that match a string without >> consuming anything. ECMAScript has lookahead assertions that does this in >> forward direction, but the language is missing a way to do this backward >> which the lookbehind assertions provide. With lookbehind assertions, one >> can make sure that a pattern is or isn’t preceded by another, e.g. matching >> a dollar amount without capturing the dollar sign. >> >> Link to “Intent to Implement” blink-dev discussion >> >> There was none. Note that since this is a V8/JS feature, this post is >> just an FYI to blink-dev — no signoff from Blink API owners is required. >> >> Is this feature supported on all six Blink platforms (Windows, Mac, >> Linux, Chrome OS, Android, and Android WebView)? >> >> Yes. >> >> Demo link >> >> Examples can be found here: >> >> - >> >> https://mathiasbynens.be/notes/es-regexp-proposals#lookbehinds >> - >> >> https://developers.google.com/web/updates/2017/07/upcoming-r >> egexp-features#lookbehind_assertions >> >> <https://developers.google.com/web/updates/2017/07/upcoming-regexp-features#lookbehind_assertions> >> >> >> Interoperability and Compatibility Risk >> >> Low; this feature gives behavior to something which was previously a >> syntax error. >> >> Edge/Chakra: public support; tracking issue: >> https://github.com/Microsoft/ChakraCore/issues/3448 >> >> Firefox/SpiderMonkey: no signals; tracking issue: >> https://bugzilla.mozilla.org/show_bug.cgi?id=1225665 >> >> Safari/JavaScriptCore: no signals; tracking issue: >> https://bugs.webkit.org/show_bug.cgi?id=174931 >> >> Web developers: positive signals >> >> Is this feature fully tested? >> >> Yes. In addition to V8’s own tests >> <https://github.com/v8/v8/blob/master/test/mjsunit/harmony/regexp-lookbehind.js>, >> Test262 includes tests for this feature >> <https://github.com/tc39/test262/tree/master/test/built-ins/RegExp/lookBehind> >> . >> >> OWP launch tracking bug >> >> https://bugs.chromium.org/p/v8/issues/detail?id=4545 >> >> Entry on the feature dashboard <http://www.chromestatus.com/> >> >> https://www.chromestatus.com/feature/5668726032564224 >> >> -- >> You received this message because you are subscribed to the Google Groups >> "blink-dev" group. >> To view this discussion on the web visit https://groups.google.com/a/ch >> romium.org/d/msgid/blink-dev/CAJYpFjCaYnJx-NCHzbHYRKceAPkdN >> 1UaU0WwSanE8PKjNuCFKg%40mail.gmail.com >> <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAJYpFjCaYnJx-NCHzbHYRKceAPkdN1UaU0WwSanE8PKjNuCFKg%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > > -- > -- > v8-users mailing list > [email protected] > http://groups.google.com/group/v8-users > --- > You received this message because you are subscribed to the Google Groups > "v8-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
