chiark
/
gitweb
/
~ijackson
/
ypp-sc-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
714a622
)
Cope with {{ }} rather than [[ ]] in arch labels
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Tue, 1 Sep 2009 15:58:17 +0000
(16:58 +0100)
committer
Ian Jackson
<Ian.Jackson@eu.citrix.com>
Tue, 1 Sep 2009 15:58:17 +0000
(16:58 +0100)
yarrg/yppedia-chart-parser
patch
|
blob
|
history
diff --git
a/yarrg/yppedia-chart-parser
b/yarrg/yppedia-chart-parser
index b35d8165a016bfe1dbe28a9166ef5ebf008b9543..41ef985e6b590801041dfbdcc2635f6d8d15e631 100755
(executable)
--- 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 ];