Skip to content
Prev 171594 / 398503 Next

regexp capturing group in R

I don't know if there is a direct, perl-like way to capture the matches, but
here is a solution:
attr(mdat[[1]], "match.length"))
[1] "20080101" "20090224" 

-Christos