Registry / utility / regex-lite

regex-lite

JSON →
library0.1.9rscratesunverified

A lightweight regex engine that optimizes for binary size and compilation time.

# Cargo.toml [dependencies] regex-lite = "0.1.9"
INSTALL
IMPORT
SIG · REGEX-LITE
R
regex-lite
utilityrustv0.1.9
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 regex_lite::Regex;

Match a string against a regex pattern using the lightweight engine.

use regex_lite::Regex; fn main() { let re = Regex::new(r"^\d+$").unwrap(); println!("{}", re.is_match("123")); }
Debug
Known issues
gotcharegex-lite does not support all features of the full `regex` crate (e.g., backreferences, lookahead).
fix
Use the `regex` crate if you need advanced regex features.
affects: >=0.1.0
Upgrade
Version history
0.1.9latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
5
Amazon
1
Resources
regex-lite — cargo add regex-lite · libregistry