Contact emails
jgr...@chromium.org, mat...@chromium.org
Spec
https://github.com/tc39/proposal-regexp-dotall-flag (stage 3 proposal)
Summary
The new s flag for ECMAScript regular expressions makes . match any character, including line terminators.
Link to “Intent to Implement” blink-dev discussion
There was none.
Is this feature supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes.
Demo link
None. The explainer in the proposal offers some examples.
Interoperability and Compatibility Risk
The meaning of existing regular expression patterns isn’t affected by this proposal since the new s flag is required to opt-in to the new behavior.
Edge/Chakra: public support; tracking issue: https://github.com/Microsoft/ChakraCore/issues/2787
Firefox/SpiderMonkey: no signals; tracking issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1361856
Safari/JavaScriptCore: no signals; tracking issue: https://bugs.webkit.org/show_bug.cgi?id=172634
Web developers: positive signals
Is this feature fully tested?
Yes. In addition to V8’s own tests, Test262 includes tests for this feature.
OWP launch tracking bug
https://bugs.chromium.org/p/v8/issues/detail?id=6172
Entry on the feature dashboard
https://www.chromestatus.com/features/5644209772036096
--
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/chromium.org/d/msgid/blink-dev/CAJYpFjBQv7rBjt7P5wtwNLRdB97oo-%2B1fHM8NjzVd5AaZMg-aA%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAEvLGcKYJJRtT2BM%3Dj4%3DdtWL7LufRgqFR%2B5kcgThD2X0Dfpf7Q%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CADizRgbsnRPR7hQa_s25qbRNuF4_33Vs%2B4jocnZ8G820vW8dNg%40mail.gmail.com.