Live data from Hacker News

Show HN: Regex Cheatsheet

ihateregex.io

1–10 of 135 posts

Re: Show HN: Regex Cheatsheet

#2
I used to spend hours trying to craft the perfect expression for my scraping projects not realizing that I don't really know regex.

This tool is a cheat sheet that also explains the commonly used expressions so that you understand it.

- There is a visual representation of the regular expression (thanks to regexpr)

- The application shows matching strings which you can play around

- Expressions can be edited and these are instantly validated

Re: Show HN: Regex Cheatsheet

#3
I'm loving the graphs which for the first time in years are giving me an idea of what an expression is actually doing. Just because the visualization is kept in a form that is easy to understand with a programming background but can also be translated to the expression itself in a straightforward manner.

Re: Show HN: Regex Cheatsheet

#4
I love regex and have no trouble reading them, but still love this tool, great job. I especially like the railroad diagrams, for those cases where I brainfarted on a regex and it's doing something other than what I intended. Thanks for this.

Re: Show HN: Regex Cheatsheet

#5
post #4

I love regex and have no trouble reading them, but still love this tool, great job. I especially like the railroad diagrams, for those cases where I brainfarted on a regex and it's doing something other than what I intended. Thanks for this.

I'm glad you like the tool <3 It will have a lot more content soon :)

Re: Show HN: Regex Cheatsheet

#6
post #3

I'm loving the graphs which for the first time in years are giving me an idea of what an expression is actually doing. Just because the visualization is kept in a form that is easy to understand with a programming background but can also be translated to the expression itself in a straightforward manner.

I can't take credit for the visualizations although implementing it was a pain in the ass. It was originally created by: https://regexper.com/
Post reply on HN