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

Method len

regex/src/input.rs:57–59  ·  view source on GitHub ↗

Returns the UTF-8 width of the character at this position.

(&self)

Source from the content-addressed store, hash-verified

55
56 /// Returns the UTF-8 width of the character at this position.
57 pub fn len(&self) -> usize {
58 self.len
59 }
60
61 /// Returns whether the UTF-8 width of the character at this position
62 /// is zero.

Callers 15

parseMethod · 0.45
decode_utf8Function · 0.45
decode_last_utf8Function · 0.45
pFunction · 0.45
parseMethod · 0.45
buildMethod · 0.45
slots_lenMethod · 0.45
shortest_match_atMethod · 0.45
is_match_atMethod · 0.45
captures_read_atMethod · 0.45

Calls

no outgoing calls

Tested by 1

innerFunction · 0.36