Firespotting! Interesting Ideas, Every Day!new | comments | Fire! | leaders | submitlogin
Verbal Regular Expressions. Fire! (github.com)
6 points by jehna1 1468 days ago | 4 comments


2 points by fiatjaf 1457 days ago | link

I followed this tutorial a long time ago and learned everything about regex: http://www.regular-expressions.info/tutorial.html

I'm very grateful to this guy.

-----

1 point by jehna1 1468 days ago | link

This is something I came up with a couple days ago. If you're a developer, you know it's really hard to get regular expressions right.

It is even harder to teach how a regular expression works for someone who's new with the subject. So here's a earth-friendly way of writing them verbally in JavaScript.

-----

2 points by esakki 1467 days ago | link

there was this on HN homepage: http://regex101.com/

-----

1 point by jehna1 1466 days ago | link

Yes, and I prefer using http://www.regexper.com/ but that's the opposite of Verbal Expressions.

Regexper and regex101 are tools to check the regular expression's correctness and meaning after you (or someone else) have written it. Verbal Expressions, on the other hand, is a tool meant to help you to write the actual expression.

-----