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

"xyz*" pattern produce a match even if the string does not start with xyz #1

Closed
20iahazban opened this issue Mar 2, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@20iahazban
Copy link

20iahazban commented Mar 2, 2020

Describe the bug
"cat*" is a match for "wildcats", I think it only should match to "*cat*"

To Reproduce
Steps to reproduce the behavior:
println!("{}",WildMatch::new("cat*").is_match("wildcats"));

Expected behavior
WildMatch::new("cat*").is_match("wildcats")) --> false

Desktop (please complete the following information):

  • OS: win 10
@becheran becheran self-assigned this Mar 2, 2020
@becheran becheran added the bug Something isn't working label Mar 2, 2020
becheran added a commit that referenced this issue Mar 2, 2020
@becheran
Copy link
Owner

becheran commented Mar 2, 2020

Thank you very much. I fixed it with the latest release. Sorry for any inconvenience.

@becheran becheran closed this as completed Mar 2, 2020
@20iahazban
Copy link
Author

thanks for the quick fix ;)

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
Development

No branches or pull requests

2 participants