News for hackers. Stuff that matters.
Re:Show HN: Regex Cheatsheet by noxToken on Friday January 31, 2020 @08:59AM (#22201666)
Graphs for these really hammer home the point that regular expressions aren't magic. Parsers have so many abilities that when starting out, my expressions were horribly inefficient and missed many corner cases. Learning to graph them just like automata immediately made things easier.

When green devs are having trouble with regular expressions (and don't have a formal computer science background), I like to give them a crash course in DFAs.

There are no comments on this comment yet.