MCPcopy Create free account
hub / github.com/davidblewett/rure-python / branges

Function branges

regex/regex-syntax/src/hir/mod.rs:1535–1537  ·  view source on GitHub ↗
(cls: &ClassBytes)

Source from the content-addressed store, hash-verified

1533 }
1534
1535 fn branges(cls: &ClassBytes) -> Vec<(u8, u8)> {
1536 cls.iter().map(|x| (x.start(), x.end())).collect()
1537 }
1538
1539 fn bcasefold(cls: &ClassBytes) -> ClassBytes {
1540 let mut cls_ = cls.clone();

Callers

nothing calls this directly

Calls 4

mapMethod · 0.80
iterMethod · 0.45
startMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected