B.2. Regular expressions
Yes, there's even more about regular expressions than we mentioned. Mastering Regular Expressions by Jeffrey Friedl is one of the best technical books we've ever read. It's half about regular expressions in general, and half about Perl's regular expressions. It goes into good detail about how the regular expression engine works internally, and why one way of writing a pattern may be much more efficient than another. Anyone who is serious about Perl should read this book. Also see the perlre manpage (and its companion perlretut and perlrequick manpages in newer versions of Perl).
Copyright © 2002 O'Reilly & Associates. All rights reserved.