Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Perl6 global regex matching

by moritz (Cardinal)
on Oct 20, 2015 at 10:29 UTC ( [id://1145405]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use v6;
    
    ...
    for $line ~~ m:g/ \d ** 2..3 / -> $match {
        say ~$match;
    }
    
  2. or download this
    124
    123
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-03-29 06:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found