As of Firefox 161, I intend to turn Regular Expression Buffer Boundaries on by default. It has been developed behind the javascript.options.experimental.regexp_buffer_boundaries preference.
Summary: This introduces \A, \z and \Z character escapes to Unicode-mode regular expressions as synonyms for (?-m:^), (?-m:$) and (?=(?:\r\n|\n|\r|\u2028|\u2029)?(?-m:$)), respectively. Bug to turn on by default: https://bugzilla.mozilla.org/show_bug.cgi?id=2059792 Specification: https://github.com/tc39/proposal-regexp-buffer-boundaries Standards Body: TC39 Platform Coverage: All Preference: javascript.options.experimental.regexp_buffer_boundaries DevTools Bug: N/A Extensions Bug: N/A Use Counter: N/A Standards-Positions Discussion: N/A Other Browsers: - Blink, in progress, tracked by https://issues.chromium.org/issues/517575874 - Safari, landed, shipped in technology preview 251 ( https://webkit.org/blog/18194/release-notes-for-safari-technology-preview-251/ ) web-platform-tests: Covered by Test262, the tests haven't been merged yet ( https://github.com/tc39/test262/pull/4975), we have a local copy in tree. -- You received this message because you are subscribed to the Google Groups "[email protected]" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/CAC_Rxa4w5AeUKf9OQNs0X7bR4PxqfyRRX1ckavt2%3DwpOzKC2tw%40mail.gmail.com.
