2 unstable releases
0.1.0 | Jun 20, 2022 |
---|---|
0.0.0 | Jun 12, 2022 |
#26 in #turn
4,317 downloads per month
18KB
413 lines
globiter
globiter
turns glob range and set into Iterator.
Quick Start
let pattern = Pattern::parse("https://example.com/{a,b,c}/file/[001-003]")?;
for i in pattern.iter() {
println("{i}")
}
// Output:
// https://example.com/a/file/001
// https://example.com/a/file/002
// https://example.com/a/file/003
// https://example.com/b/file/001
// ...
// https://example.com/c/file/003
Contributing
Check out the CONTRIBUTING.md guide for more details on getting started with contributing to this project.
Getting help
Submit issues for bug report or asking questions in discussion.
License
Licensed under Apache License, Version 2.0.Dependencies
~560KB
~10K SLoC