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

Duplicate wildcards at end not stripped #38

Open
haukex opened this issue Oct 29, 2024 · 0 comments
Open

Duplicate wildcards at end not stripped #38

haukex opened this issue Oct 29, 2024 · 0 comments
Assignees
Labels
bug Something isn't working lower priority Not quite that urgent

Comments

@haukex
Copy link
Owner

haukex commented Oct 29, 2024

This code is supposed to remove all wildcards at the beginning and end of a string (because a search for /.*foo.*/ is the same as /foo/, but the former is much slower in JS), but it doesn't correctly handle a search term "foo**".

@haukex haukex added the bug Something isn't working label Oct 29, 2024
@haukex haukex added the lower priority Not quite that urgent label Feb 12, 2025
@haukex haukex self-assigned this Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lower priority Not quite that urgent
Projects
None yet
Development

No branches or pull requests

1 participant