Jeff Atwood on Regular Expressions
Last Friday Jeff Atwood makes a case for judicious use of regular expressions in the article Regular Expressions: Now You Have Two Problems on his Coding Horror blog.
Nitpick: In free-spacing mode (RegexOptions.IgnoreWhitespace in .NET), the # starts a comment all by itself, which runs to the end of the line. # comment is three characters less to type than (?# comment). The latter syntax is the only way to add a comment if you’re not using free-spacing mode.
Comments Off on Jeff Atwood on Regular Expressions