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

Method pos

regex/src/input.rs:68–70  ·  view source on GitHub ↗

Returns the byte offset of this position.

(&self)

Source from the content-addressed store, hash-verified

66
67 /// Returns the byte offset of this position.
68 pub fn pos(&self) -> usize {
69 self.pos
70 }
71
72 /// Returns the byte offset of the next position in the input.
73 pub fn next_pos(&self) -> usize {

Callers 9

previous_charMethod · 0.45
is_empty_matchMethod · 0.45
prefix_atMethod · 0.45
next_charMethod · 0.45
exec_Method · 0.45
stepMethod · 0.45
has_visitedMethod · 0.45
exec_Method · 0.45
add_stepMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected