News for hackers. Stuff that matters.
Re:Rise4fun - from Microsoft Research by mturmon on Thursday April 12, 2012 @06:55PM (#3834551)
It sort-of does something I've wanted: given a regex R generating a language L, produce a few strings from L in a helpful way.

Of course, L is usually infinite, so it's easy to generate strings in an unhelpful way.

For instance, the phone number one:

http://www.rise4fun.com/Rex/phone

and the URL one:

http://www.rise4fun.com/Rex/weburl

You can modify the given regex, click "ask rex", and wait a while, and it will return two patterns from the regex. Just two...

Re:Rise4fun - from Microsoft Research by _delirium on Thursday April 12, 2012 @08:22PM (#3834800)
There was a discussion of that on HN a few years ago, but the site that was linked seems broken now: http://news.ycombinator.com/item?id=1725447
Re:Rise4fun - from Microsoft Research by mturmon on Thursday April 12, 2012 @11:21PM (#3835271)
Thanks for that, which was new to me. It seemed to do what I had in mind.

I raised this a few months ago, but commenters thought I wanted to solve a different problem, such as a tool to check a regex against a group of strings that I would supply myself:

http://news.ycombinator.com/item?id=3297788