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

greedy matches causing problem with numbers that are prefixes of other numbers #39

Open
matkoniecz opened this issue Feb 15, 2018 · 0 comments

Comments

@matkoniecz
Copy link

In Polish both "kilka" and "kilkanaście" may be used as imprecise description of quantity.

Unfortunately ingreedy breaks when one number is prefix of other number.

See example of failing test in https://github.com/matkoniecz/ingreeedyfork/blob/fork/spec/ingreedy_spec.rb#L446

(ping me in unlikely case that this project is revived - I would make PR that would add failing test case).

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

No branches or pull requests

1 participant