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

clp::string_utils::wildcard_match_unsafe_case_sensitive fails to match with certain queries #427

Open
kirkrodrigues opened this issue Jun 6, 2024 · 0 comments · May be fixed by #428
Open
Labels
bug Something isn't working

Comments

@kirkrodrigues
Copy link
Member

Bug

For instance, clp::string_utils::wildcard_match_unsafe_case_sensitive fails to match 'a?c' with the wildcard string 'a??'.

This bug affects both clp and clp-s but is hidden by #243 and #404.

Thanks to @wraymo for reporting it.

CLP version

2c37cc6

Environment

Ubuntu 22.04

Reproduction steps

Write a unit test which tests clp::string_utils::wildcard_match_unsafe_case_sensitive("a?c", "a\\??").

@kirkrodrigues kirkrodrigues added the bug Something isn't working label Jun 6, 2024
kirkrodrigues added a commit to kirkrodrigues/clp that referenced this issue Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant