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

glob_with case insensitivity seems broken #61

Open
mqudsi opened this issue Jul 20, 2017 · 0 comments
Open

glob_with case insensitivity seems broken #61

mqudsi opened this issue Jul 20, 2017 · 0 comments

Comments

@mqudsi
Copy link

mqudsi commented Jul 20, 2017

In developing globtest (crate here), I seem to have run into an issue where the case_sensitive paremeter of MatchOptions is completely ignored in the match_with function.

Here's an example:

mqudsi@ZBook /m/c/U/M/g/globtest> globtest -d "*"

        options {
                case_sensitive: true,
                require_literal_leading_dot: true,
                require_literal_separator: true
        };

Cargo.lock
Cargo.toml
LICENSE
README.md
src
target

mqudsi@ZBook /m/c/U/M/g/globtest> globtest -d "target"

        options {
                case_sensitive: true,
                require_literal_leading_dot: true,
                require_literal_separator: true
        };

target

mqudsi@ZBook /m/c/U/M/g/globtest> globtest -id "Target"

        options {
                case_sensitive: false,
                require_literal_leading_dot: true,
                require_literal_separator: true
        };

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