ES6 final tweaks #5: new RegExp(aRegExp, flags) no longer throws. Instead clones first argument but with supplied flags.
@awbjs It would still throw in the case of e.g. `new RegExp(/\u{1D306}/u, '')`, right?
-
-
@mathias yes, because \u{} not valid syntax unless u flag is present.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.