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

Method text

regex/src/re_trait.rs:183–185  ·  view source on GitHub ↗

Return the text being searched.

(&self)

Source from the content-addressed store, hash-verified

181impl<'t, R> Matches<'t, R> where R: RegularExpression, R::Text: 't {
182 /// Return the text being searched.
183 pub fn text(&self) -> &'t R::Text {
184 self.text
185 }
186
187 /// Return the underlying regex.
188 pub fn regex(&self) -> &R {

Callers 2

nextMethod · 0.80
nextMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected