[R] Pattern Matching help
tov at ece.cmu.edu
Wed Jan 17 18:26:56 CET 2001
Prof Brian Ripley <ripley at stats.ox.ac.uk> writes:
> `.' is a special character in a regexp. You have to escape it by `\', and
> that needs to be escaped in R.
> Perhaps we need to say more on the help page, but I am reluctant to
> try to define the meaning of `regular expression' there ....
Since perl is a prerequisite for the installation of R, you might
assume that its man pages are also available. 'man perlre' gives an
overview of the special characters in the subsection "Regular
Expressions". So, could you refer the reader of the help page for
gsub and friends to the man page of perlre? (I don't what you would
do for the Windows people...)
mailto:tov at ece.cmu.edu (Tom Vogels) Tel: (412) 268-6638 FAX: -3204
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help