search for: regrepr

Displaying 1 result from an estimated 1 matches for "regrepr".

Did you mean: regrexpr
2008 May 05
2
Finding non disjoint regular expressions
Hello, Is there any way I can use the gregexpr functions (or a different function) in a manner that will also return overlapping (i.e. non disjoint) regular expressions? For instance, when running gregexpr("AAA","AAAAAA"), I get two matches, one at position 1 and one at position 4. I'd like to receive 4 matches at positions 1, 2, 3 and 4. Thanks, Schraga