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

Consecutive characters return more matches than expected #102

Open
mauricioszabo opened this issue May 3, 2023 · 0 comments
Open

Consecutive characters return more matches than expected #102

mauricioszabo opened this issue May 3, 2023 · 0 comments

Comments

@mauricioszabo
Copy link

Description

If I filter for strings like aaaaa or tttt it returns more items than expected, both with filter and with ObjectArrayFilterer (didn't tested other filtering methods)

Steps to Reproduce

const z = require('zadeh')
z.filter(['one two', 'It is a test'], 'aaaaaa')
// => Returns ['It is a test'], even when there's only one "a" on it

Expected behavior:

To return nothing

Reproduces how often:

100%

Versions

3.0.0-beta.4

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