sebfisch / haskell-regexp

Regular Expression Matching in Haskell
http://sebfisch.github.com/haskell-regexp/
Other
34 stars 5 forks source link

Prevent unnecessary iteration if regexp won't match. #20

Closed baldo closed 9 years ago

baldo commented 13 years ago

This way the following matching may abort immediately: "a*" =~ (replicate 100000000000 'b')