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 …
-
-
A character class is more versatile to select what needs to be escaped. For the actual escaping, `RegExp.escape` would be useful, too.
-
What’s the use case of selecting what needs to be escaped without escaping it?
- 5 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.