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

Method char

regex/src/input.rs:47–49  ·  view source on GitHub ↗

Returns the character at this position. If this position is just before or after the input, then an absent character is returned.

(&self)

Source from the content-addressed store, hash-verified

45 /// If this position is just before or after the input, then an absent
46 /// character is returned.
47 pub fn char(&self) -> Char {
48 self.c
49 }
50
51 /// Returns the byte at this position.
52 pub fn byte(&self) -> Option<u8> {

Callers 3

next_charMethod · 0.45
stepMethod · 0.45
stepMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected