Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix infinite loop in debug_regexp #14

Merged
merged 1 commit into from
Jan 22, 2015
Merged

fix infinite loop in debug_regexp #14

merged 1 commit into from
Jan 22, 2015

Conversation

RasmusWL
Copy link
Contributor

On issue #13 I was seeing an infinite loop for debug_regexp I wont guarantee this makes the code 100% bugfree, but at least it solves my case.

This is what happened:

bounds: (0, 2542)
half: 1271
bounds: (0, 1270)
half: 635
bounds: (0, 634)
half: 317
bounds: (0, 316)
half: 158
bounds: (0, 157)
half: 78
bounds: (0, 77)
half: 38
bounds: (0, 37)
half: 18
bounds: (0, 17)
half: 8
bounds: (8, 17)
half: 12
bounds: (12, 17)
half: 14
bounds: (14, 17)
half: 15
bounds: (15, 17)
half: 16
bounds: (16, 17)
half: 16
bounds: (16, 17)
half: 16
bounds: (16, 17)
half: 16
bounds: (16, 17)
half: 16
...

phillipberndt added a commit that referenced this pull request Jan 22, 2015
fix infinite loop in debug_regexp
@phillipberndt phillipberndt merged commit 8e23d69 into phillipberndt:master Jan 22, 2015
@phillipberndt
Copy link
Owner

Thanks!

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.

None yet

2 participants