Documentation: fix warning in cat-texi.perl

Newer versions of Perl produce the warning "Unescaped left brace in regex is deprecated, passed through in regex" when an unescaped left brace occurs in a regex. Escape the brace to avoid this warning. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

brian m. carlson committed Jan 22, 2017 at 02:41 UTC f7bf8feaf504767d1c147cc8cd03d7df2539ba47
1 file changed +1 -1
Documentation/cat-texi.perl
+1 -1
@@ -11,7 +11,7 @@ while (<STDIN>) {
11 if (s/^\@top (.*)/\@node $1,,,Top/) {
12 push @menu, $1;
13 }
14 - s/\(\@pxref{\[(URLS|REMOTES)\]}\)//;
14 + s/\(\@pxref\{\[(URLS|REMOTES)\]}\)//;
15 s/\@anchor\{[^{}]*\}//g;
16 print TMP;
17 }