Crates.io | globiter |
lib.rs | globiter |
version | 0.1.0 |
source | src |
created_at | 2022-06-12 02:25:36.585828 |
updated_at | 2022-06-20 02:36:03.914951 |
description | Replace with description |
homepage | |
repository | https://github.com/Xuanwo/globiter |
max_upload_size | |
id | 604292 |
size | 31,436 |
globiter
turns glob range and set into Iterator.
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
Check out the CONTRIBUTING.md guide for more details on getting started with contributing to this project.
Submit issues for bug report or asking questions in discussion.