http://qs321.pair.com?node_id=558894


in reply to The craziest RegExes you ever created

In the Web and in different books everybody can find smth like "connon regex lists" containig dozens of reallife regular expressions simple enough to be understood by everybody.

There are also lists of useful and complex regexes that are hard to understand. In particular, Regexp::Common contains a number of useful regexes, both simple and complex.

Also, Jeffrey Friedl's Mastering Regular Expressions has examples of large, complex regexes (one generated one to match an email address that is about a page long IIRC).

  • Comment on Re: The craziest RegExes you ever created

Replies are listed 'Best First'.
Re^2: The craziest RegExes you ever created
by Ieronim (Friar) on Jul 03, 2006 at 07:06 UTC
    Regexp::Common is a cool module :) Though i have never used it myself, i enjoy its idea :)

    I have seen the incredible e-mail address regular expression from Jeffry Friedl's book. Btw, it was removed from the book in the second edition ;)