From 31b5aed41e9f712e901a7f812fd211590997dcd0 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sun, 8 Jul 2018 16:22:44 +0200 Subject: [PATCH] =?utf8?q?preprocess:=20nov=C4=9Bj=C5=A1=C3=AD=20Perl=20ch?= =?utf8?q?ce=20escapovat=20chlupat=C3=A9=20z=C3=A1vorky?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- all/preprocess | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/all/preprocess b/all/preprocess index dd82da8..4b8b7b3 100755 --- a/all/preprocess +++ b/all/preprocess @@ -12,7 +12,7 @@ foreach my $f (@ARGV) { /^\\references/ && next; /^\\bye/ && last; s@\\(figure|fig|inlinefig|epsfbox){([^}]+)}@\\$1\{$d$2}@g; - s@\\(twofigures){([^}]+)}({[^}]+}{[^}]+}){([^}]+)}@\\$1\{$d$2}$3\{$d$4}@g; + s@\\(twofigures)\{([^}]+)}(\{[^}]+}\{[^}]+})\{([^}]+)}@\\$1\{$d$2}$3\{$d$4}@g; print; } close X; -- 2.39.2