After today’s TC39 meeting, I’m excited to announce that…
ES2018 makes regular expressions more readable and useful through the following features:
- dotAll mode (the s flag)
- Lookbehind assertions
- Named capture groups
- Unicode property escapes
https://mathiasbynens.be/notes/es-regexp-proposals …
PCRE can’t be changed for backwards compatibility reasons. ECMAScript RegExp is a somewhat clean slate to start from.
-
-
We still have to learn its syntax anyway, because that same argument can be made about PCRE not going away any time soon :/
-
How about /p switch for PCRE syntax in ECMAScript. *catches on fire*



- 1 more reply
New conversation -
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.
