Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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

by ikegami (Pope)
on Feb 14, 2013 at 07:55 UTC ( #1018696=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    /\G(?:.{4})*(?=fred(....))/sg
    
  2. or download this
    /fred(?(?{ pos % 4 != 0 })(?!))(....)/sg
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (2)
As of 2016-02-10 01:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (330 votes), past polls