From 444a331045a8848006381d180326eefc28fb204d Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 1 Sep 2009 16:58:17 +0100 Subject: [PATCH] Cope with {{ }} rather than [[ ]] in arch labels --- yarrg/yppedia-chart-parser | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 ]; -- 2.30.2