Module regex

Source
Expand description

A simple regex engine for operating on character streams and supporting the Sam text editor’s structural regular expressions.

Thompson’s original paper on writing a regex engine can be found here: https://dl.acm.org/doi/pdf/10.1145/363347.363387

Structs§

Match
The match location of a Regex against a given input.
MatchIter
An iterator over sequential, non overlapping matches of a Regex against a given input
Regex
A regular expression engine designed for use within the ad text editor.

Enums§

Error
Errors that can be returned by the regex engine