summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-12-26 12:42:40 (GMT)
committerWerner Almesberger <werner@almesberger.net>2016-12-26 12:42:40 (GMT)
commitb976a56f5b90f96a01ac1aecd551ef8d45b4f51a (patch)
tree08e552c3d305f7dd05f5bf4607c27c6a3a6408e0
parentc3c047b8a3e2006086dc8fb231f0a457a661cf50 (diff)
downloadmisc-b976a56f5b90f96a01ac1aecd551ef8d45b4f51a.zip
misc-b976a56f5b90f96a01ac1aecd551ef8d45b4f51a.tar.gz
misc-b976a56f5b90f96a01ac1aecd551ef8d45b4f51a.tar.bz2
iox/gentab.pl: braces now have to be escaped
-rwxr-xr-xiox/gentab.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/iox/gentab.pl b/iox/gentab.pl
index 1f61176..085476a 100755
--- a/iox/gentab.pl
+++ b/iox/gentab.pl
@@ -32,7 +32,7 @@ while ($ARGV[0] =~ /^-/) {
$s = join("", <>);
$t = "";
-while ($s =~ /\n\\begin{(ioxdef|ioxgen)}(.*?)\\end{\1}/s) {
+while ($s =~ /\n\\begin\{(ioxdef|ioxgen)\}(.*?)\\end\{\1\}/s) {
$s = $';
$t .= $2;
}