From 95738a6be32bb3ffb3f0d9d2b803d567968ab14b Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 1 Sep 2009 16:12:52 +0100 Subject: [PATCH] Cope with multi-word arches --- yarrg/yppedia-chart-parser | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yarrg/yppedia-chart-parser b/yarrg/yppedia-chart-parser index 11c7484..dacf5c3 100755 --- a/yarrg/yppedia-chart-parser +++ b/yarrg/yppedia-chart-parser @@ -127,7 +127,7 @@ sub yppedia_chart_parse () { if (($x,$y,$arch) = m/^\{\{ chart\ label \|(\d+)\|(\d+)\| .* (?: \)? \'+ - \[\[ [^][\']* \| (\S+)\ archipelago \]\] + \[\[ [^][\']* \| ([^][\'|]+)\ archipelago \]\] \'+ (?: \<\/big\>)? \}\}$/xi) { printf DEBUG "%2d,%-2d arch %s\n", $x,$y,$arch; push @wiarchlabels, [ $x,$y,$arch ]; -- 2.30.2