3 releases
0.0.3 | May 26, 2024 |
---|---|
0.0.2 | May 25, 2024 |
0.0.1 | May 24, 2024 |
#440 in Procedural macros
18KB
462 lines
dfa-regex
Create a DFA from a regular expression and use it for matching strings.
Usage
use dfa_regex::regex;
regex!(Foo => "foo");
assert!(Foo::matches("foo"));
assert!(!Foo::matches("bar"));
Dependencies
~255–710KB
~17K SLoC