Skip to main content

find_ascii_case_insensitive

Function find_ascii_case_insensitive 

Source
pub fn find_ascii_case_insensitive(text: &str, needle: &str) -> Option<usize>
Expand description

Dependency-neutral byte-stable ASCII matching helpers. Re-exported here to preserve the SQL parser’s existing public API; SQL keyword boundary and literal-segment handling remain local to this module. Find an ASCII needle in text without allocating a case-transformed copy. The returned byte offset always belongs to text.