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

Re^15: Bind zone file search

by Kenosis (Priest)
on Sep 27, 2012 at 17:03 UTC ( #996050=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    /(?<!#|\/)\s*zone\s+"([^"]+)".+?masters\s+{[\s#\/]*([a-zA-Z0-9.-]+)[\s
    +#\/;]*}/sg
    
  2. or download this
    (?<!#|\/)\s*zone
      ^  ^    ^
    ...
      |  |    + - 0+ whitespaces
      |  + - Match "zone" and 0+ whitespaces that are not preceded by an "
    +#" or "/"
      + - Negative lookbehind
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (14)
As of 2014-08-29 16:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (282 votes), past polls