4 ms·
The regex thing is amazing: http://www.rise4fun.com/Rex/ http://www.rise4fun.com/Rex/
by gee_totes 15y ago
The regex thing is amazing: http://www.rise4fun.com/Rex/ http://www.rise4fun.com/Rex/
- mturmon 15y agoIt 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 http://www.rise4fun.com/Rex/phone and the URL one: http://www.rise4fun.com/Rex/weburl 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...
- _delirium 15y agoThere 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 http://news.ycombinator.com/item?id=1725447
- mturmon 15y agoThanks 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 http://news.ycombinator.com/item?id=3297788
- sauravc 15y agoTotally agree.