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

Method is_empty

regex/src/input.rs:63–65  ·  view source on GitHub ↗

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

(&self)

Source from the content-addressed store, hash-verified

61 /// Returns whether the UTF-8 width of the character at this position
62 /// is zero.
63 pub fn is_empty(&self) -> bool {
64 self.len == 0
65 }
66
67 /// Returns the byte offset of this position.
68 pub fn pos(&self) -> usize {

Callers 9

decode_last_utf8Function · 0.45
buildMethod · 0.45
choose_match_typeMethod · 0.45
should_suffix_scanMethod · 0.45
expand_strFunction · 0.45
expand_bytesFunction · 0.45
exec_Method · 0.45
fill_splitMethod · 0.45
exec_Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected