DOKK / manpages / debian 12 / systemtap-doc / function::matched_str.3stap.en
FUNCTION::MATCHED_ST(3stap) A collection of standard strin FUNCTION::MATCHED_ST(3stap)

function::matched_str - Return the last matched string.


matched_str:string()

None

returns the string matched by the last successful use of the =~ regexp matching operator. Returns an error if the last use of =~ led to a failed match.

tapset::regex(3stap)

November 2022 SystemTap Tapset Reference