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

Method set_non_match

regex/src/dfa.rs:248–253  ·  view source on GitHub ↗

Sets the non-match position. If this isn't a non-match, then this is a no-op.

(self, at: usize)

Source from the content-addressed store, hash-verified

246 ///
247 /// If this isn't a non-match, then this is a no-op.
248 fn set_non_match(self, at: usize) -> Result<T> {
249 match self {
250 Result::NoMatch(_) => Result::NoMatch(at),
251 r => r,
252 }
253 }
254}
255
256/// `State` is a DFA state. It contains an ordered set of NFA states (not

Callers 2

exec_atMethod · 0.80
exec_at_reverseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected