Expand description
Literal, line-scoped search.
Line-scoped on purpose: a match never spans a line break, so every result
is expressible as (line, grapheme) without a second coordinate system,
and that is what a user typing into a search box means anyway. Regex
belongs behind this same SearchQuery type later, not beside it.
Structs§
Functions§
- find_
in_ line - Grapheme index pairs of every non-overlapping match in one line.