[identity profile] momentsmusicaux.livejournal.com 2012-03-08 04:54 pm (UTC)(link)
Heh, any I write that are longer than a dozen characters or a bit hairy I explode like that. Because I know I'll need to understand them in 6 months' time.

*insert rant about shoddy coders here*

[identity profile] call-waiting.livejournal.com 2012-03-08 08:31 pm (UTC)(link)
So what you *really* want, Andy, isn't a regexp *editor* so much as a regexp *pretty printer.

I'd be shocked if there wasn't something like that already: give it a V8 regexp, and it'll spit it out nicely formatted in /x format.

[identity profile] skington.livejournal.com 2012-03-08 09:18 pm (UTC)(link)
Then add white space etc. to them yourself. Build a test suite with enough data extracted from the wild that you're confident that you're not breaking the regex, if it's complicated enough.