From: Ian Jackson Date: Tue, 1 Sep 2009 15:58:17 +0000 (+0100) Subject: Cope with {{ }} rather than [[ ]] in arch labels X-Git-Tag: 3.4~34 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.web-live.git;a=commitdiff_plain;h=444a331045a8848006381d180326eefc28fb204d Cope with {{ }} rather than [[ ]] in arch labels --- diff --git a/yarrg/yppedia-chart-parser b/yarrg/yppedia-chart-parser index b35d816..41ef985 100755 --- a/yarrg/yppedia-chart-parser +++ b/yarrg/yppedia-chart-parser @@ -127,7 +127,9 @@ sub yppedia_chart_parse () { if (($x,$y,$arch) = m/^\{\{ chart\ label \|(\d+)\|(\d+)\| .* (?: \<(?: big|center )\>)* \'+ - \[\[ [^][\']* \| ([^][\'|]+)\ archipelago \]\] + (?: \[\[ | \{\{ ) + [^][\']* \| ([^][\'|]+)\ archipelago + (?: \]\] | \}\} ) \'+ (?: \<\/(?: big|center )\>)* \}\}$/xi) { printf DEBUG "%2d,%-2d arch %s\n", $x,$y,$arch; push @wiarchlabels, [ $x,$y,$arch ];