Skip to main content

parse_quick_spec

Function parse_quick_spec 

Source
pub fn parse_quick_spec(input: &str) -> QuickSpec
Expand description

Parse the prefix operators used by the quick-search mini-language.

This parser is intentionally order-sensitive and loops until it reaches the actual token. That keeps odd-but-supported forms like !?field readable in one place instead of scattering prefix handling across the matcher code.