Skip to content

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

@kirkrodrigues

Description

@kirkrodrigues

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\\??").

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions