.NET Regex Lesson 5: Optimization

added by BucketSoft
3/18/2012 6:12:50 PM

4 Kicks, 353 Views

Starting with a poorly written regular expression, I make a series of optimizations to make it 3 million times faster. I hope to demonstrate several things to look out for in the process. And I encourage you to benchmark your regular expressions before putting them into production code.