pattern fix
This commit is contained in:
@ -46,7 +46,7 @@ sub parse_slavefile {
|
|||||||
|
|
||||||
open(my $fh, $f) || die "Can't open $f: $!";
|
open(my $fh, $f) || die "Can't open $f: $!";
|
||||||
while (<$fh>) {
|
while (<$fh>) {
|
||||||
if (/^zone\s+\"([^\"]+)\"\s+\{.+masters\s?\{\s?(.+);\s?\};/) {
|
if (/^zone\s+\"([^\"]+)\"\s+\{.+masters\s?\{\s?([\}]+);\s?\};/) {
|
||||||
push ( @ret, { zone => $1,
|
push ( @ret, { zone => $1,
|
||||||
master => $2
|
master => $2
|
||||||
} );
|
} );
|
||||||
|
|||||||
Reference in New Issue
Block a user