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

Nontermination in very simple regex code #77

Closed
imeckler opened this Issue Jan 3, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@imeckler
Contributor

imeckler commented Jan 3, 2015

The following code fails to terminate.

import Regex

x : List Regex.Match
x = Regex.find Regex.All (Regex.regex ".*") ""

@evancz evancz closed this in 58602d3 Feb 2, 2015

evancz pushed a commit that referenced this issue Feb 2, 2015

Merge pull request #156 from jonathanhefner/issue-77-fix-regex-find
Prevent infinite loop from empty match (fix #77)

kasbah added a commit to kasbah/elm-core that referenced this issue Mar 10, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment