Created
December 22, 2024 15:37
-
-
Save nalply/95992067f1e1c94877a2d2af536ef66c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// cargo-deps: globset="0.4" | |
fn main() { | |
let glob = globset::Glob::new("test{,2}").unwrap().compile_matcher(); | |
println!("{}", glob.is_match("test")); | |
} | |
// When run this should produce `true` but it does not |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment