From: "David A. Black" Date: 2009-10-06T21:51:17+09:00 Subject: Re: regex simplifier? Hi -- On Tue, 6 Oct 2009, Roger Pack wrote: > >> The fact that there apparently are not many libraries for readable >> regular expressions in use seems to indicate that people are mostly >> using the native syntax of a regexp engine. Apparently it's not that >> hard. > > Ok ok I'll concede and suck it in and learn regular expressions. My > only misgiving is that regular expressions are typically so "write only" > that they don't feel very ruby-y. > Thanks for the pointers! I think it's just practice, like learning musical notation or whatever (only it's not as elaborate as musical notation). It's all about atoms and quantifiers. Cling to that and you'll be fine :-) David -- David A. Black, Director Ruby Power and Light, LLC (http://www.rubypal.com) Ruby/Rails training, consulting, mentoring, code review Book: The Well-Grounded Rubyist (http://www.manning.com/black2)