# HG changeset patch # User Matti Hamalainen # Date 1509480534 -7200 # Node ID 8e456ddb032417f7498c0ffdc9ab81fad7b1bc1c # Parent b80107b8a493e8d786d69ca6d17d5203cabb3c27 Fix an regexp. diff -r b80107b8a493 -r 8e456ddb0324 log2template.pl --- a/log2template.pl Tue Oct 31 22:04:02 2017 +0200 +++ b/log2template.pl Tue Oct 31 22:08:54 2017 +0200 @@ -260,7 +260,7 @@ $$mob{"continent"} = $2; $$mob{"xc"} = $3; $$mob{"yc"} = $4; - } elsif ($s =~ /^You are in '.*?', which is on the continent of ([A-Z][a-z]+). \(Coordinates: (\d)+x, (\d)+y(; Global: \d+x, \d+y)?\)$/o) { + } elsif ($s =~ /^You are in '.*?', which is on the continent of ([A-Z][a-z]+). \(Coordinates: (\d+)x, (\d+)y(; Global: \d+x, \d+y)?\)$/o) { # Area, continent $$mob{"area"} = $1; $$mob{"continent"} = $1;