MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / ci_eq

Method ci_eq

std/re/src/main/matcher.rs:234–237  ·  view source on GitHub ↗
(&self, a: char, b: char)

Source from the content-addressed store, hash-verified

232 }
233
234 fn ci_eq(&self, a: char, b: char) -> bool {
235 if a == b { return true; }
236 if self.flags.ignorecase { a.to_lowercase().eq(b.to_lowercase()) } else { false }
237 }
238
239 fn at_start(&self, pos: usize) -> bool {
240 pos == 0 || (self.flags.multiline && pos > 0 && self.input[pos - 1] == '\n')

Callers 2

backrefMethod · 0.80
single_matchMethod · 0.80

Calls 1

eqMethod · 0.80

Tested by

no test coverage detected