Expand description
§Regex Macro
Creates a new instance of Regex.
See more macros: docs, repository.
§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!"));
§License & Feedback:
This library distributed under the MIT license.
You can contact me via GitHub or send a message to my E-Mail. This library is actively evolving, and your suggestions and feedback are always welcome!