[R] regular expression submatch?

Gabor Grothendieck
Mon, 01 Feb 2010 19:22:18 -0000

Try this:

> library(gsubfn)
> strapply("hello world", "hello (.*)")[[1]]
[1] "world"


On Mon, Feb 1, 2010 at 1:57 PM, sjaffe <sjaffe at riskspan.com>