[Po4a-commits] "po4a/lib/Locale/Po4a Po.pm,1.59,1.60"
Nicolas FRANCOIS
nekral-guest at alioth.debian.org
Tue Mar 28 17:29:16 UTC 2006
Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory haydn:/tmp/cvs-serv3710/lib/Locale/Po4a
Modified Files:
Po.pm
Log Message:
consecutive escaped tabulations in the PO: only the first one was
un-escaped. Closes: #359352
Index: Po.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Po.pm,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -d -r1.59 -r1.60
--- Po.pm 16 Mar 2006 19:45:07 -0000 1.59
+++ Po.pm 28 Mar 2006 17:29:12 -0000 1.60
@@ -1097,7 +1097,7 @@
/$1\n/sgx; # single string, match globally, allow comments
# unescape tabulations
$text =~ s/( # $1:
- (^|[^\\]) # beginning of the line or any char
+ (\G|[^\\])# beginning of the line or any char
# different from '\'
(\\\\)* # followed by any even number of '\'
)\\t # and followed by an escaped tabulation
More information about the Po4a-commits
mailing list