RegExp quirk that just bit me: > /^.*$/.test('Hello!\nWorld!') false Fix: use [\s\S] instead of . http://speakingjs.com/es5/ch19.html#_regular_expression_syntax …
Replying to @jviereck
@jviereck @rauschma Found my old @jsperf test: http://jsperf.com/match-any-char-regex …
6:31 AM - 15 Sep 2014
0 replies
0 retweets
0 likes
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.