Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: scan, match and extract

by Fletch (Bishop)
on May 19, 2022 at 11:26 UTC ( [id://11143999]=note: print w/replies, xml ) Need Help??


in reply to scan, match and extract

Perhaps named references and using $+{foo} instead? Not getting a good direct link but search for “named capture group” in perlre e.g  (?<NAME>pattern), and %+ in perlvar.

Edit: Easier to get the direct link not on ipad: named capture groups.

The cake is a lie.
The cake is a lie.
The cake is a lie.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11143999]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-24 20:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found