method Captures.whole
The whole match.
Example:
fn main() io {
let c = Regex.compile("a(b)")!.captures("xab")!
print("{c.whole().text} {c.whole().start}")
}Output
ab 1
pub(api) fn whole() -> MatchSince. 1.0.0-beta
Returns
Effects
none declared (pure unless the body says otherwise)
Defined in: std/core/text.oxl:1157