Hi Herve, Thanks for the report. I can reproduce this with latest R-devel. perl=TRUE is also broken. I have a patch which I am testing. With it, I get:
> gregexpr("", "abc") [[1]] [1] 1 2 3 attr(,"match.length") [1] 0 0 0 > gregexpr("", "abc", fixed=TRUE) [[1]] [1] 1 2 3 attr(,"match.length") [1] 0 0 0 > gregexpr("", "abc", perl=TRUE) [[1]] [1] 1 2 3 attr(,"match.length") [1] 0 0 0 + seth -- Seth Falcon | [EMAIL PROTECTED] | blog: http://userprimary.net/user/ ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel