# HG changeset patch # User # Date 1421666055 -3600 # Node ID 6dbc360390208e449201916b51cc54230dbcc0e1 # Parent beeac1cf82edfc3838c94ed087f074a1c3c24895 better matching for optional quotes diff -r beeac1cf82ed -r 6dbc36039020 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 {