in reply to Re^4: How to know that a regexp matched, and get its capture groups?
in thread How to know that a regexp matched, and get its capture groups?
Anyway
${^MATCH} This is similar to $& ($MATCH) except that it does not incur the perfo +rmance penalty associated with that variable. This variable was added in Perl v5.10.0.
though I don't understand the /p comment
Cheers Rolf
(addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
Wikisyntax for the Monastery
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: How to know that a regexp matched, and get its capture groups?
by choroba (Cardinal) on Jan 10, 2023 at 12:30 UTC |