3 ms·
This is the 'extended' syntax. It's not supported out of the box in Javascript, but it's not hard to add: http://blog.mackerron.com/2010/08/08/extended-multi-li
by gmac 10y ago
This is the 'extended' syntax. It's not supported out of the box in Javascript, but it's not hard to add: http://blog.mackerron.com/2010/08/08/extended-multi-line-js-regexps/ http://blog.mackerron.com/2010/08/08/extended-multi-line-js-...
- pygy_ 10y agoGood one. The biggest issue was the lack of multi-line strings in JS, but ES6 adoption is about to solve that. Would you mind publishing it on NPM (or at least tacking a license to it)?