Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: printing LAST_MATCH_START/@- LAST_MATCH_END/@+ array where regex match begin/end

by perl_boy (Novice)
on Dec 29, 2021 at 00:57 UTC ( #11139996=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    open(F0, $ARGV[0]);
    
    ...
    }
    
    close F0;
    
  2. or download this
    print  $+[0], " ",$+[1], " ", $+[2], "\n" ;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2022-07-05 16:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?