I want to find files for some pattern with multiple extensions. Ex:-

```
some/path/**.{json,jsonc}

```

But rust [glob](https://docs.rs/glob/0.3.0/glob/) function is not working with these types of patterns. Here is my workaround:-

```rust
extern crate glob;

use glob::glob;

fn main() {
    for file_name_result in glob("example/**.{json,jsonc}").unwrap() {
        match file_name_result {
            Ok(file_path) => {
                println!("Found:{}", file_path.display());
            }
            Err(e) => {
                eprintln!("ERROR: {}", e);
            }
        };
    }
}

```