Skip to main content

check_pattern

Function check_pattern 

Source
pub fn check_pattern(query: &SearchQuery) -> Result<(), OxiNavError>
Expand description

Whether ripgrep’s regex engine accepts query’s pattern, so a mistake can be reported where it was typed rather than after a search starts.