macron-regex

Crates.iomacron-regex
lib.rsmacron-regex
version0.1.0
created_at2025-05-25 04:19:00.021099+00
updated_at2025-05-25 04:19:00.021099+00
descriptionCreates a new instance of Regex
homepage
repositoryhttps://github.com/fuderis/rs-macron/tree/main/macron-input
max_upload_size
id1688007
size5,661
Bulat Sh. (fuderis)

documentation

README

githubcrates-iodocs-rs

Regex Macro

Introduction:

Creates a new instance of Regex.

P.s.: More useful macros you can find here.

Examples:

let re = re!(r"^Hello, \w+!$");

assert!(re.is_match("Hello, World!"));

// with formatting:
let re = re!(r"^Hello, {}!$", "World");

assert!(re.is_match("Hello, World!"));

Licensing:

Distributed under the MIT license.

Feedback:

You can contact me via GitHub or send a message to my Telegram @fuderis.

This library is constantly evolving, and I welcome your suggestions and feedback.

Commit count: 15

cargo fmt