fnmatch_regex/
lib.rs

1#![deny(missing_docs)]
2#![deny(clippy::missing_docs_in_private_items)]
3// SPDX-FileCopyrightText: Peter Pentchev <roam@ringlet.net>
4// SPDX-License-Identifier: BSD-2-Clause
5//! Various fnmatch- and glob-style handling.
6//!
7//! For the present, this crate only defines a conversion function from
8//! an fnmatch-style glob pattern to a regular expression.
9//!
10//! See the [`glob`] module for more information on
11//! the [`glob_to_regex`] function's usage.
12
13#![allow(clippy::pub_use)]
14
15pub mod error;
16pub mod glob;
17
18pub use glob::glob_to_regex;
19
20#[cfg(test)]
21pub mod tests;