Registry / utility / lazy-regex

lazy-regex

JSON →
library3.6.0rscratesunverified

Lazy static regular expressions checked at compile time.

# Cargo.toml [dependencies] lazy-regex = "3.6.0"
INSTALL
IMPORT
SIG · LAZY-REGEX
L
lazy-regex
utilityrustv3.6.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

regex
use lazy_regex::regex;

Creates a lazy static regex and tests a string against it.

use lazy_regex::regex; fn main() { let re = regex!("^[a-z]+$"); println!("Matches 'hello': {}", re.is_match("hello")); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.6.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
lazy-regex — cargo add lazy-regex · libregistry