Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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

by smls (Friar)
on Feb 14, 2013 at 11:26 UTC ( #1018722=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    /fred(?(?{ (pos()-4) % $n })(?!))($capture)/g
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1018722]
help
Chatterbox?
[Discipulus]: M4ver1k are you debug/dump vars in the loops? are you sure you are not quitting the loop earlier?

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2017-11-20 08:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (285 votes). Check out past polls.

    Notices?