Skip to main content

rfind_ascii_case_insensitive

Function rfind_ascii_case_insensitive 

Source
pub fn rfind_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 the last ASCII needle in text without allocating a case-transformed copy. The returned byte offset always belongs to text.