Hi all,

I swear this used to work:

library(gsubfn)
strapply("S(AC,P)TVDK(8)EELVQK(8), ".[(].{1,2}[)]|.")[[1]]

But somewhere along the update path it stopped ... now giving me this 

Error in base::gsub(pattern, rs, x, ...) : 
  invalid backreference 2 in regular expression

Can't figure it out. What am I doing wrong?

Thanks for any hints, Joh

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to