dfa-regex

Crates.iodfa-regex
lib.rsdfa-regex
version0.0.3
sourcesrc
created_at2024-05-24 22:19:04.110201
updated_at2024-05-26 00:41:17.631806
descriptionMatch regular expressions using a corresponding DFA
homepage
repositoryhttps://github.com/mrvillage/dfa-regex
max_upload_size
id1251589
size22,791
mrvillage (mrvillage)

documentation

README

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"));
Commit count: 9

cargo fmt