From dolanp at science.oregonstate.edu  Wed Oct 10 16:35:44 2007
From: dolanp at science.oregonstate.edu (dolanp at science.oregonstate.edu)
Date: Wed, 10 Oct 2007 16:35:44 +0200 (CEST)
Subject: [Rd] gregexpr (PR#9965)
Message-ID: <20071010143544.1B484288008C@mail.pubhealth.ku.dk>

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.



[Rd] gregexpr (PR#9965)
dolanp at science.oregonstate.edu