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

Method fmt

regex/src/re_bytes.rs:82–84  ·  view source on GitHub ↗

Shows the original regular expression.

(&self, f: &mut fmt::Formatter)

Source from the content-addressed store, hash-verified

80impl fmt::Display for Regex {
81 /// Shows the original regular expression.
82 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
83 write!(f, "{}", self.as_str())
84 }
85}
86
87impl fmt::Debug for Regex {

Callers

nothing calls this directly

Calls 6

mapMethod · 0.80
CapturesDebugClass · 0.70
escape_bytesFunction · 0.50
finishMethod · 0.45
iterMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected