On Fri, Mar 18, 2011 at 09:45:57PM -0500, Erin Hodgess wrote: > Dear R People: > > Could someone recommend a good reference on regular expressions, please? > ...
Mastering Regular Expressions; Friedl, Jeffrey E. F.; ISBN 9780596528126. Many of the O'Reilly books (as this one) may be purchased in an electronic format , which is often slightly less expensive, can be faster to arrive, and is readily amenable (in the case of O'Reilly, at least) to low-cost (or free) electronic delivery of updates. That said, another approach would be to run Perl in debug mode against some (Perl) script, and use the debugger to see exactly what matches (and what happens when you change something). You might able to do this with R's browser() fiunction, at least to some extenr; I confess that I have a great deal more experience with Perl, so I'm more comfortable experimenting in that way using the Perl debugger. (And in any case, Perl is well-known for the facility with which one may use regular expressions in it.) The above are not (intended as) mutually exclusive. Peace, david -- David H. Wolfskill r...@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key.
pgpiOFK7fTKGP.pgp
Description: PGP signature
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.