Crates.io | nytri |
lib.rs | nytri |
version | 0.0.0 |
source | src |
created_at | 2022-01-30 16:39:05.583264 |
updated_at | 2022-01-30 16:39:05.583264 |
description | A low-level regex library with a focus on user-control |
homepage | |
repository | https://github.com/sharnoff/nytri |
max_upload_size | |
id | 524114 |
size | 87,876 |
nytri
— Not Your Typical Regex Implementationnytri
is a low-level Regular Expressions library with a focus on user-control.
What does this mean? In practice, it means that nytri
is designe to provide its users an unusual
level of access to the underlying Regex engine. Things like:
This library is under initial development. It should not be used in any serious setting, and does not yet come close to the feature set that should be expected by a quality regex implementation.
Before reading this list, note: nytri
will always guarantee linear-time matching. Because of this,
some features are not possible to implement fully (like backreferences).
Current:
Matcher::feed
& Matcher::is_match
)Matcher::get_state
& Matcher::from_state
)Planned:
.
, *
, +
, and ?
— with the standard meanings.char
and &str
, or matching on &[u8]
implemented as "just another text type")