| Crates.io | macron-regex |
| lib.rs | macron-regex |
| version | 0.1.0 |
| created_at | 2025-05-25 04:19:00.021099+00 |
| updated_at | 2025-05-25 04:19:00.021099+00 |
| description | Creates a new instance of Regex |
| homepage | |
| repository | https://github.com/fuderis/rs-macron/tree/main/macron-input |
| max_upload_size | |
| id | 1688007 |
| size | 5,661 |
Creates a new instance of Regex.
P.s.: More useful macros you can find here.
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!"));
Distributed under the MIT license.
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.