In addition to the other fine books on regular expressions (grep's "toolbox," if you will) mentioned by other responders to this BBEdit group, I can recommend <i>Regular Expressions in 10 Minutes</i> by Ben Forta (©2004 by Sams Publishing; ISBN 0-672-32566-7). I have the Friedl book and, of course, the BBEdit manual, but it's the slim Forta book that travels with me because it's comprehensive yet svelte (102 pages if you subtract the appendices and index; 146 pages in all).
Though largely tutorial in nature, the Forta book also serves as a reference book. It's the first book I reach for if I need to noodle out a regular expression problem. The $15 book (well, $15 when I bought it in 2008) also has some "canned" regular expressions that can be used to work with such things as ZIP codes (US, UK, Canada), US Social Security numbers, credit card numbers, IP addresses, URLs, email addresses, and HTML- and Java-style comments. It even has a web link to a regular expression tester. All in all, it's a very useful addition to my collection of regex books. On Mar 1, 2011, at 10:39 AM, LuKreme wrote: > On 22-Feb-2011, at 16:26, Alex Satrapa wrote: >> >> Because regexes are being mentioned, I am compelled to remind people about >> the excellent publication "Mastering Regular Expressions" - an O'Reilly book >> (so you *know* it's good):http://oreilly.com/catalog/9780596528126/ > > I have the second edition (about ten-twelve years old now, I guess). I don't > think regex has changed that much in ten years though. Should I get the new > edition? > > -- > National Socialism is not Socialism, any more than the Black Panthers > were actually cats. @jearl > > -- > You received this message because you are subscribed to the > "BBEdit Talk" discussion group on Google Groups. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > <http://groups.google.com/group/bbedit?hl=en> > If you have a feature request or would like to report a problem, > please email "[email protected]" rather than posting to the group. > Follow @bbedit on Twitter: <http://www.twitter.com/bbedit> -- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at <http://groups.google.com/group/bbedit?hl=en> If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
