Archive for June, 2014

7 slow and painful deaths by regexp

Catch more than half of these issues by testing, auditing and code reviews

My article about regexp on PullReview‘s blog is there to encourage

— to learn them before actually using them.
— to learn them before actually learning them the “hard” way in production
— to take a look at alternative to implement the feature without regular expressions (or the one used by your stdlib, language)
— if you use regex, understand the risks
— if you use regex, please write tests for you and your coworkers
— if you use regex, please audit your code (automatically and by human code review)

Advertisements

, , ,

Leave a comment