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 …
-
-
I have no idea what that would entail, but maybe improve that part of PCRE so everyone can benefit? Then as suggested, use it in JS. There's something to be said about being able to share expressions between languages, instead of rewriting them & workarounds
-
PCRE can’t be changed for backwards compatibility reasons. ECMAScript RegExp is a somewhat clean slate to start from.
- 3 more replies
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.
