devongovett / glob-match

An extremely fast glob matching library in Rust.
MIT License
325 stars 13 forks source link

[bug] enhance match case #4

Closed SoonIter closed 1 year ago

SoonIter commented 1 year ago
assert!(glob_match("**/y.txt", "y.txt"));               // panic
assert!(glob_match("**/package.json", "package.json"));      // panic
assert!(glob_match("**/{package}.json", "package.json"));    // true

Maybe this should work.

devongovett commented 1 year ago

All of those seem to pass with the latest version. Do you still see an issue?

SoonIter commented 1 year ago

All of those seem to pass with the latest version. Do you still see an issue?

Looks good, and take my star 😆