MCPcopy Index your code
hub / github.com/RustPython/RustPython / charset_loc_ignore

Function charset_loc_ignore

crates/sre_engine/src/engine.rs:1214–1221  ·  view source on GitHub ↗
(set: &[u32], c: u32)

Source from the content-addressed store, hash-verified

1212}
1213
1214fn charset_loc_ignore(set: &[u32], c: u32) -> bool {
1215 let lo = lower_locate(c);
1216 if charset(set, c) {
1217 return true;
1218 }
1219 let up = upper_locate(c);
1220 up != lo && charset(set, up)
1221}
1222
1223fn category(cat_code: SreCatCode, c: u32) -> bool {
1224 match cat_code {

Callers

nothing calls this directly

Calls 3

lower_locateFunction · 0.85
charsetFunction · 0.85
upper_locateFunction · 0.85

Tested by

no test coverage detected