Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (11)
As of 2014-11-28 09:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (194 votes), past polls