20 ms·
I sometimes use http://regexio.com/ http://regexio.com/ to debug in the reverse direction: given a regex, generate a bunch of strings it matches, which sometime
by _delirium 16y ago
I sometimes use http://regexio.com/ http://regexio.com/ to debug in the reverse direction: given a regex, generate a bunch of strings it matches, which sometimes quickly lets me see "wtf, why would it match strings like that one?"
That's something it'd be cool to see explored more; when I'm writing a regex, I usually have in mind a space of strings it's supposed to match, so a very useful debugging tool would be some way of showing me what that space is, so I can see if it's the same as the one in my head. I can't think of any cool infoviz tricks offhand that would be more useful than just a list of matching strings, but there must be something.
- bane 16y agoYou'll probably like http://research.microsoft.com/en-us/downloads/7f1d87be-f6d9-495d-a699-f12599cea030/ http://research.microsoft.com/en-us/downloads/7f1d87be-f6d9-...