vebex

Crates.iovebex
lib.rsvebex
version0.1.0
sourcesrc
created_at2024-11-11 16:04:46.406048
updated_at2024-11-11 16:04:46.406048
descriptionVebex is a Rust library that provides procedural macros for creating regular expressions in a verbose and readable way.
homepagehttps://chinifabio.github.io
repositoryhttps://github.com/chinifabio/vebex
max_upload_size
id1443879
size2,484
Fabio Chini (chinifabio)

documentation

README

Vebex

Vebex is a Rust library that provides procedural macros for creating regular expressions in a verbose and readable way.

Features

  • Create regular expressions using a more readable syntax.
  • Compile-time validation of regular expressions.
  • Integration with Rust's standard regex crate.

Installation

Add the following to your Cargo.toml:

[dependencies]
vebex = "0.1.0"

Usage

use vebex::regex;

let re = regex! {
    start_of_line
    "hello"
    one_or_more_whitespace
    "world"
    end_of_line
};

assert!(re.is_match("hello world"));

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Commit count: 2

cargo fmt