Hacker News new | past | comments | ask | show | jobs | submit login
RegViz: A Web-Based Tool for Visual Debugging of Regular Expressions (regviz.org)
71 points by beckf on Jan 25, 2015 | hide | past | favorite | 8 comments



My two cents on other solutions:

http://jex.im/regulex/

has beautiful railroad diagrams, but limited functionality otherwise.

https://www.debuggex.com/

also has railroad diagrams, and a ton of other functionality


Debuggex worked best for me, dabbling with PCRE. I just wish the fonts was somehow bettter on a mac.


HTML entities seem to break the parser. And FF warns of XSS if I want to share my XSS sample text:

http://regviz.org/?state=%7B%22regex%22%3A%22XSS%22%2C%22mod...


I've previously used http://www.regexplanet.com/ quite a bit, but this looks very promising. I really like the highlighting!


The worst thing about regular expressions is that most people only need them occasionally. You invest a few hours becoming an expert and then forget a lot of it by the next time you need them.

For this reason I really appreciate tools that explain expressions in plain english. For example check out how RegEx buddy parses this expression: http://www.regexbuddy.com/screens/analyze.png


If you haven't seen http://regexr.com, you're missing out...


Another great site I use for highlighting regular expressions is regex101.com It additionally supports PCRE and Python syntax. And has also a unit testing feature.

See the tools website here: https://regex101.com


Very cool! I think most of us would admit we spend more time than we'd like on regex.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: