Skip to content
Prev 219333 / 398500 Next

Retrieve regular expression groups

There are quite a few examples in

(1) ?strapply,
(2) on the home page and
(3) in the vignette
(4) on r-help back posts

if you having problems with understanding the textual description.

Note that X and FUN are also arguments to sapply
function (X, FUN, ..., simplify = TRUE, USE.NAMES = TRUE)
NULL

so the sapply construct in your post has the effect of applying c to
tmp, pats and strapply so the output you observe is correct.  The
sapply  command never even calls strapply.

On Sun, May 2, 2010 at 8:20 PM, OKB (not okblacke)
<brenbarn at brenbarn.net> wrote: