News for hackers. Stuff that matters.
Re:How "junior" developers can become regex wizards by kbrowne on Thursday November 28, 2013 @02:00AM (#6813403)
Ever? For any purpose whatsoever? That seems overly prescriptive.
Re:How "junior" developers can become regex wizards by alayne on Thursday November 28, 2013 @02:13AM (#6813440)
Sure, for scripts, adhoc analysis, command line hacking and whatnot, go ahead.

Regexes should be seen more like a last resort than a good software engineering choice. They're a code smell. I have seen so many incorrect, slow regexes from people who don't know what they are doing that I have to recommend as a best practice that you don't use them unless you are going to study automata, read Friedl's book, the Dragon book, and study with Tibetan regex monks for years, and mentor everyone who has to maintain your code until you die.