ECMAScript regular expressions are getting better! No less than FIVE proposals are currently being standardized: https://mathiasbynens.be/notes/es-regexp-proposals …
This is new to me — thanks for sending it over! There’s no such ES proposal yet
-
-
another thing I miss from Perl (5 this time) is the ability to change the separator from '/' to something else.
-
At least that is something you can work around: const pattern = new RegExp(`https://example\\.com/`);
- 4 more replies
New conversation -
-
-
http://perldoc.perl.org/perlop.html#Regexp-Quote-Like-Operators … perl5 also has something more lightweight than instanciating RegExp with a string: the "qr" operator.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
thanks a lot for listening :)
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.