Skip to content

Fuzzy matching not working when letters are misplaced #2

@dzeban

Description

@dzeban

The fuzzy matching library ("github.com/sahilm/fuzzy") can't handle when the letters in the input string are misplaced, e.g.

$ tzconv moscwo
error: unable to find timezone 'moscwo'

The expected behavior here is that it will correctly find Moscow location.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions