Re: [R] Large regular expressions

2009-01-26 Thread Gabor Grothendieck
I am using > R.version.string # Vista [1] "R version 2.8.1 Patched (2008-12-26 r47350)" and it also caused R to actually crash for me. On Mon, Jan 26, 2009 at 1:38 PM, Stavros Macrakis wrote: > Given a vector of reference strings Ref and a vector of test strings > Test, I would like to find ele

[R] Large regular expressions

2009-01-26 Thread Stavros Macrakis
Given a vector of reference strings Ref and a vector of test strings Test, I would like to find elements of Test which do not contain elements of Ref as \b-delimited substrings. This can be done straightforwardly for length(Ref) < 6000 or so (R 2.8.1 Windows) by constructing a pattern like \b(a|b|