Hacker News new | ask | show | jobs
by Yoni1 4910 days ago
Pretty! I had wanted to make something like this, but one feature I thought of and you didn't do: For the entered regexp, generate 20 random matches and show them to me.

Use case for this feature: You encounter an undocumented regexp in someone else's code and want get a few quick examples of what it matches.

1 comments

Since I'm usually starting with a bunch of data I want to parse/match/chop, I like going the other way - pasting a couple of lines into Patterns ( http://krillapps.com/patterns/ ) and tweaking my expression until it looks right. This would be a useful addition to help debug in place.