Rubular - a Ruby regular expression editor
rubular.com
rubular.com
Which I think is Flash/Flash Air...
Being able to permalink (which Rubular also does) to examples is a killer feature..I keep trying to convince non-programmers who work with data that they should at least learn regexes to make their life easier
Ruby uses Oniguruma http://www.geocities.jp/kosako3/oniguruma/
While the average regex will probably work on both, you should know there isn't a 1:1 correlation between the two.
- Learn how a regex editor is built.
- Use a different regex engine (is that possible to swap)? [1]
I'm sure there are more reasons.
1 http://en.wikipedia.org/wiki/Comparison_of_regular_expressio...
Oniguruma (regex engine in ruby1.9) existed as an external library in the past (1.8) and you can get stuff like re2 for ruby this days[1]
For Python users, there is: http://www.regexplanet.com/advanced/python/index.html
Example: http://fiddle.re/22e5
>>> import re
>>> r = re.compile(r'(?P<month>\d{1,2})\/(?P<day>\d{1,2})\/(?P<year>\d{4})')
>>> r.search("Today's date is: 10/23/2012.").groupdict()
{'month': '10', 'day': '23', 'year': '2012'}Karma: 11 / 663 days old
Adding more quality submissions or comments wouldn't have prevented this submission from being upvoted.
There was a post some time ago and one comment went into some detail about HN's overall demographic and how the segments of that aren't entirely compatible (well, if you removed the personal opinion from it, anyway).