ergex
ergex copied to clipboard
The Ergex Regular Expression Library
The way lifetimes are implemented for `AhoCorasickScratch` make pushing bytes slightly problematic, requiring copies in some situations where they wouldn't otherwise be needed. Might need to just go back to...
The push-oriented implementation of Aho-Corasick returns an iterator over the matches it finds. The public regex API instead reports matches via callbacks. I'd like to see the public API also...
`Scratch` structures hold immutable references to their `Database`. This prevents a `Scratch` from moving to a new thread, though it should be possible. I think it would be with `crossbar`...
The matching code allows for `Handler`s to provide a `pulse` interval, expressed as a number of VM instructions, and which allows the `Handler` to stop matching early. This is not...
There is essentially no documentation available for ergex. This is in part due to the lack of a stable API.