[Po4a-commits] "po4a/lib/Locale/Po4a TeX.pm,1.74,1.75"
Nicolas FRANCOIS
nekral-guest at alioth.debian.org
Wed Sep 21 20:13:14 UTC 2005
Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory haydn:/tmp/cvs-serv18333/lib/Locale/Po4a
Modified Files:
TeX.pm
Log Message:
An environment can be postfixed by an asterisk. Fix the regular expression
in parse_definition_line.
Index: TeX.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/TeX.pm,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -d -r1.74 -r1.75
--- TeX.pm 21 Sep 2005 20:11:40 -0000 1.74
+++ TeX.pm 21 Sep 2005 20:13:11 -0000 1.75
@@ -1039,7 +1039,7 @@
} elsif ($line =~ m/^((?:\{_?\}|\[_?\])*)\s*$/) {
register_generic_command("$command,$1");
}
- } elsif ($line =~ /^environment\s+([+]?\w+)\s+(.*)$/) {
+ } elsif ($line =~ /^environment\s+([+]?\w+\*?)\s+(.*)$/) {
my $env = $1;
$line = $2;
if ($line =~ m/^((?:\{_?\}|\[_?\])*)\s*$/) {
More information about the Po4a-commits
mailing list