Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: A regex that only matches at offset that are multiples of a given N?

by tobyink (Abbot)
on Feb 13, 2013 at 17:11 UTC ( #1018580=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use v5.12;
    
    ...
        next if pos($a) % 4;
        say "Match at ", pos($a), ": ", $1;
    }
    
  2. or download this
    use v5.12;
    
    ...
    {
        say "Match at ", pos($a), ": ", $1;
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (11)
As of 2016-09-28 08:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (523 votes). Check out past polls.