Skip to main content

required_chars

Function required_chars 

Source
fn required_chars(atom: String) -> Option<String>
Expand description

The chars one positive atom requires the haystack to contain in order, with fzf-style operators stripped (^/' prefix, unescaped $ suffix) and escapes resolved. None for negated atoms and atoms that reduce to nothing. Non-ASCII chars are dropped: nucleo may satisfy them via Unicode folding that LIKE can’t express, and requiring less keeps the superset.