Regex Guru

Sunday, 29 June 2008

Jeff Atwood on Regular Expressions

Filed under: Links — Jan Goyvaerts @ 15:31

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.

No Comments

No comments yet.

Sorry, the comment form is closed at this time.