From: David Garamond Date: 2004-01-12T05:45:37+09:00 Subject: Re: regex to NOT match? Stephan K�mper wrote: > David Garamond wrote: > >> Ruby Baby wrote: >> >>> I couldn't find it in any documentation, or Ruby Way or Programming >>> Ruby books. >> >> >> Yes, it would be nice if these two excellent Ruby books explain/tutor >> more about regexp, especially for beginners. As a comparison, regexp >> receives quite a thorough explanation in many Perl books. Not all Ruby >> users come from Perl, mind you. :-) >> > If you'd like to read some really serious stuff about regexes, I > recommend Jeffrey Friedl's "Masterning Regular Expressions" by O'Reilly. > The current edition covers Ruby too, if I remember correctly - I 'only' > have the 1st edition, but even that one is quite a help in understanding > regexes in general. Yeah, I've read Jeffrey's book (1st ed too) and the two chapters of the 2nd. I was not talking about /me specifically on the previous post though. I myself learnt pretty much everything about regex initially from Perl tutorials and books (and after that, of course, from trying it out and learning from mistakes). But I've seen here that many people do not come from Perl background and the abovementioned two Ruby books didn't cover regexp in a friendly way for beginners. -- dave