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

Function class_contains

std/re/src/main/matcher.rs:285–287  ·  view source on GitHub ↗
(items: &[ClassItem], c: char)

Source from the content-addressed store, hash-verified

283}
284
285fn class_contains(items: &[ClassItem], c: char) -> bool {
286 items.iter().any(|it| item_match(it, c))
287}
288
289/* Case variants to test for ignorecase class membership. */
290fn fold_variants(c: char) -> [char; 2] {

Callers 1

class_hitMethod · 0.85

Calls 2

item_matchFunction · 0.85
iterMethod · 0.45

Tested by

no test coverage detected