On Tue, April 17, 2007 10:42 pm, Ralph Shumaker wrote: > :-) Pehaps, but I haven't used regex much anywhere besides vim.
No perl? A shame. Everybody loves perl ... it's fun ;-) > > If I get to a point where I would use it a *lot*, then I may look into that. > I think of regexs as incredibly compact code. If you can write a good regex, especially in current scripting languages, you can do a lot of work in one or two lines of code. Did anyone mention that there is a learning curve ...? ;-) Once again, I find myself recommending the Owl book: http://www.oreilly.com/catalog/regex3/index.html This is one of those rare books where jumping around is the better way to read it. The beginning is the basics. Then there are chapters on the different regex engines (almost optional but fascinating) and finally each major app (bash, perl, emacs, etc) has a chapter on regexes in it. But if you master the basic syntax, that really goes anywhere with only minor variations. Hey, Neil, post this email on the reviews page :-) -- Lan Barnes SCM Analyst Linux Guy Tcl/Tk Enthusiast Biodiesel Brewer -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
