globiter

Crates.ioglobiter
lib.rsglobiter
version0.1.0
sourcesrc
created_at2022-06-12 02:25:36.585828
updated_at2022-06-20 02:36:03.914951
descriptionReplace with description
homepage
repositoryhttps://github.com/Xuanwo/globiter
max_upload_size
id604292
size31,436
Xuanwo (Xuanwo)

documentation

https://docs.rs/globiter

README

globiter   Build Status Latest Version

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.
Commit count: 15

cargo fmt