Now that https://github.com/tc39/ecma262/commit/d978ed19a3173fb6b2d38d11c990e6cad9570b33 … is merged, JavaScript regular expressions officially have a dotAll mode that can be enabled through the `s` flag.
/./su matches any Unicode code point, including line terminator symbols.
https://mathiasbynens.be/notes/es-regexp-proposals#dotAll …
-
-
This Tweet is unavailable.
-
Yeah, if there’s interest. We did the same thing for https://github.com/mathiasbynens/babel-plugin-transform-unicode-property-regex … recently (at the Babel team’s request) +
@left_pad - 4 more replies
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.
