in reply to book vs. web for Perl Regex study?

I'd recommend that you check out Mastering Regular Expressions by Jeffrey Friedl (published by O'Reilly), which is what I used to get started on learning regular expressions myself. Even if you don't actually end up reading it cover to cover, it's a good reference book to have handy.

Replies are listed 'Best First'.
Re^2: book vs. web for Perl Regex study?
by dasgar (Priest) on Sep 02, 2010 at 03:44 UTC

    After reading some of the other responses, I've gone back and reflected on my answer. I'm forced to agree with others that this book may not necessarily be the best starting point for some individuals.

    In my case, reading Friedl's book reminded me of a senior level computer science course that I had to take (Formal Languages and Automata). While taking the course, I struggled to understand how the concepts would apply to programming. Friedl's book connected the dots in my mind.

    Regardless of your starting point, I'd recommend doing some experimenting on your own. At least for me, I couldn't fully wrap my mind around regexes without actually doing some hands on learning.

Re^2: book vs. web for Perl Regex study?
by stevemayes (Scribe) on Sep 02, 2010 at 12:02 UTC
    Mastering Regular Expressions is *the* book. It emphasises praxis and real world examples. TIMTOWTDI in this as in everything else perl related but do not doubt your first instincts. :)