#regex #lazy-evaluation #macro

macro lazyregex

Utility macros for generating lazy static regexes

1 stable release

Uses new Rust 2024

new 1.0.0 Apr 2, 2025

#558 in Procedural macros

Download history 85/week @ 2025-03-28

85 downloads per month

MIT license

10KB
188 lines

LazyRegex

Compile-time checked lazy, static Regexes.

How to use

use lazyregex::*;

// Visibility of the regex are optional.
regex!(THIS_IS_A_REGEX = "[^abc]+");

Dependencies

~1–1.8MB
~49K SLoC