Hacker News new | ask | show | jobs
by vitus 426 days ago
> I think ruby does, not sure what other languages.

You're right that Ruby has it. Perl also has /x, of course (since most of Ruby regex was "inspired" directly by Perl's syntax), as well as Python (re.VERBOSE). Otherwise, yeah, it's disappointingly rare.

1 comments

.net also supports verbose regex.