Skip to content

[question/advice] Is there a way to ignore the matching of certain characters? #69

@christopher-caldwell

Description

@christopher-caldwell

I have read the docs about the options, but unsure which to use, and the RegExp to do so.

I have a needle and an item in the haystack:

// needle
'2025 Avenue N 12, Galveston Tx' 

// haystack item
'2025 Avenue N 1/2, Galveston TX'

These do not match, and are kicked out by the filter function.

As a temp solution, I replaced '/' with an empty string, and the search works as intended.

Is it possible to use the options to handle this 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