devongovett / glob-match

An extremely fast glob matching library in Rust.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[bug] enhance match case

SoonIter opened this issue · comments

commented
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.

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

commented

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

Looks good, and take my star 😆