better matching for optional quotes
author<hs@schlittermann.de>
Mon, 19 Jan 2015 12:14:15 +0100
changeset 28 6dbc36039020
parent 27 beeac1cf82ed
child 29 fa2629bd8a18
better matching for optional quotes
lib/Nagios/Check/DNS/delegation.pm
--- a/lib/Nagios/Check/DNS/delegation.pm	Mon Jan 19 12:06:27 2015 +0100
+++ b/lib/Nagios/Check/DNS/delegation.pm	Mon Jan 19 12:14:15 2015 +0100
@@ -55,7 +55,7 @@
 	# FIXME: 172.0 .. 172.31 is missing
 	not /\b(?:0|127|10|168\.192|255)\.in-addr\.arpa$/ and
 	not /^localhost$/;
-    } map { /zone\s"?(\S+)"?\s/ } grep { /type (?:master|slave)/ } @conf;
+    } map { /zone\s"?(\S+?)"?\s/ } grep { /type (?:master|slave)/ } @conf;
 }
 
 sub get_domains {