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

Method fmt

regex/src/re_unicode.rs:141–143  ·  view source on GitHub ↗

Shows the original regular expression.

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

Source from the content-addressed store, hash-verified

139impl fmt::Display for Regex {
140 /// Shows the original regular expression.
141 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
142 write!(f, "{}", self.as_str())
143 }
144}
145
146impl fmt::Debug for Regex {

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected