On Jul 6, 2007, at 1:03 PM, Jim Clark wrote:

> Al Cholic wrote:
>> Thank you very much guys.  This topic is much clearer now.
>>
>>
> To learn more, a book I highly recommend is "Mastering Regular  
> Expressions" by Jeffrey Friedl.. Although the examples are written  
> in Perl (at least the first edition copy that I have), translating  
> any of these to Ruby should prove to be trivial. The time you spend  
> reading the book will save you many hours when you need to create,  
> debug and/or optimize more complex expressions.
>
> Regards,
> Jim
>
I second that book, I read some of it years ago, and it is  
fascinating stuff!
Works well as a cookbook for regex's!