Skip to content

Conversation

@binnisb
Copy link
Contributor

@binnisb binnisb commented Oct 14, 2014

This closes #8677.
Problem was that the offset was moving one index at a time instead of moving to the start + 1 of the last match. Therefore matching r"GCG" in "GCGCG" matched when offset was 0, 1 and 2 instead of matching with offset 0 and 2.

JeffBezanson added a commit that referenced this pull request Oct 14, 2014
RFC: Function matchall with overlaps
@JeffBezanson JeffBezanson merged commit 4771df2 into JuliaLang:master Oct 14, 2014
JeffBezanson added a commit that referenced this pull request Jan 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Function matchall with overlap=true does not produce correct output

2 participants