Crates.io | mr-regex |
lib.rs | mr-regex |
version | 0.1.0 |
source | src |
created_at | 2021-01-12 01:24:46.960035 |
updated_at | 2021-01-12 01:24:46.960035 |
description | Minimalist ASCII Regex-engine with 300 lines of Rust |
homepage | |
repository | https://github.com/MnO2/mr-regex |
max_upload_size | |
id | 340648 |
size | 23,481 |
You can use a convience one line match function.
regex_match("(zz)+", "zz")
Or a more formal interface
let r = Regex::new("(zz)+".as_bytes()).unwrap();
r.is_match("zz".as_bytes())