@mathias @littledan @bterlson How would you specify regexp flags?
re`^abc$`.flags('gu') // subclass of RegExp
re('gu')`^abc$`
re`^abc$/gu`
-
-
I like that, too! It enables: `/abc/su` `/abc/` `abc`
-
Make sure it doesn't break `\/foo` or `\/foo\/bar`
- 7 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.