Five Habits for Successful Regular Expressions

Five Habits for Successful Regular Expressions — new on O’Reilly re good ol’ regex. This article uses Perl, PHP, and Python in the code examples, but the advice here is applicable to nearly any regex implementation.

A nice article that shows how little i know about regular expressions. I particularly liked the part on lazy quantifiers and inserting comments in your regular expressions. Very useful. “zeldman.pup” [PHP Everywhere]

Reply

The content of this field is kept private and will not be shown publicly.
  • You can use Markdown syntax to format and style the text.
  • Lines and paragraphs break automatically.
  • Allowed HTML tags: <a> <cite> <code> <strong> <em> <blockquote> <b> <i> <p> <br> <ul> <ol> <li>

More information about formatting options