Quoteing ahoward / fattire.ngdc.noaa.gov, on Sat, Jan 24, 2004 at 01:04:57AM +0900: > > Sorry for posting this one on the list. Anyone has any documentation/URL > > of a beginner to advanced Regular Expressions on Ruby with examples and > > all ? > > get the oreily regex book. it's one of their best books. I heartily second that. Let me rave about the book! :-) Some O'Reilly books are canonical on their subject, and some are fluff. Its amazing to compare "Mastering Regular Expressions" with "Programming Web Services with XML-RPC". I picked the first up off a coworkers shelf out of curiousity, thinking I knew regular expressions fairly well, and wondering how anybody could possibly devote a whole book to it. It blew my mind. I haven't even come close to reading and understanding it all, and I still learned how to do things I didn't even know were possible. The XML-RPC book, on the other hand, describes all of XML-RPC (the protocol) in a single chapter, its that simple, and then consists of a handful of sample apps in a few different languages. All of which is fine, except it was about the same size and slightly more expensive the the RegEx book! It should have been published in the pocket reference format for half the price, and an eighth of the physical weight. It has less info in it than the "Objective-C Pocket Reference", which is a brilliant and concise little work. Speaking of O'Reilly, they make a great Lex and Yacc book, or used to. Sam