[R] Perl-style regexes and capturing results

Sean Davis sdavis2 at mail.nih.gov
Thu May 4 15:23:35 CEST 2006


Just a quick question....

In perl, I can capture parts of a regex like /(\w)\/(\d)/ to get back $1 and
$2 containing the parts of the regex in parentheses.  Is there a parallel in
R?

Thanks,
Sean




More information about the R-help mailing list