|Maintainer||Sebastian Fischer <mailto:email@example.com>|
This module implements leftmost matching based on weighted regular expressions. It should be imported qualified as the interface resembles that provided by other matching modules.
Returns the leftmost of all non-empty matchings for a regular expression in a given word. If the empty word is the only matching its position is zero.
Matching records the leftmost start index of a matching subword.
Semiring used for leftmost matching.