[Rd] gregexpr (PR#9965)

dolanp at science.oregonstate.edu dolanp at science.oregonstate.edu
Wed Oct 10 16:35:44 CEST 2007


Full_Name: Peter Dolan
Version: 2.5.1
OS: Windows
Submission from: (NULL) (128.193.227.43)


gregexpr does not find all matching substrings if the substrings overlap:

> gregexpr("abab","ababab")
[[1]]
[1] 1
attr(,"match.length")
[1] 4

It does work correctly in Version 2.3.1 under linux.



More information about the R-devel mailing list