Skip to content

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

@matkoniecz

Description

@matkoniecz

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions