| Crates.io | verbex |
| lib.rs | verbex |
| version | 0.1.0 |
| created_at | 2024-11-13 10:42:25.153018+00 |
| updated_at | 2024-11-13 10:42:25.153018+00 |
| description | Vebex is a Rust library that provides procedural macros for creating regular expressions in a verbose and readable way. |
| homepage | https://chinifabio.github.io |
| repository | https://github.com/chinifabio/verbex |
| max_upload_size | |
| id | 1446359 |
| size | 2,494 |
Verbex is a Rust library that provides procedural macros for creating regular expressions in a verbose and readable way.
regex crate.Add the following to your Cargo.toml:
[dependencies]
verbex = "0.1.0"
use verbex::regex;
let re = regex! {
start_of_line
"hello"
one_or_more_whitespace
"world"
end_of_line
};
assert!(re.is_match("hello world"));
Contributions are welcome! Please open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.