macron-regex 0.1.0

Creates a new instance of Regex
Documentation
  • Coverage
  • 100%
    2 out of 2 items documented1 out of 1 items with examples
  • Size
  • Source code size: 5.16 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 990.77 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • fuderis

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.