News for hackers. Stuff that matters.
Re:ECMAScript regular expressions are getting better (2017) by 3chelon on Wednesday November 28, 2018 @10:04AM (#18552045)
Perl has always let you split regexs across multiple lines, with freeform formatting and even comments. Absolute godsend for those (rare?!) times your regex gets a bit too complex for its own good...
Re:ECMAScript regular expressions are getting better (2017) by wpietri on Wednesday November 28, 2018 @10:32AM (#18552304)
Absolutely. The rare times I had to have a regex that wasn't obvious, it was great to be able to break it down with comments.