[Po4a-commits] "po4a/lib/Locale/Po4a Man.pm,1.152,1.153"

Nicolas FRANCOIS nekral-guest at alioth.debian.org
Wed Jun 14 20:37:31 UTC 2006


Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory haydn:/tmp/cvs-serv14773/lib/Locale/Po4a

Modified Files:
	Man.pm 
Log Message:
Hyphens must not be converted to minus signs in the \v'xxx' arguments.


Index: Man.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Man.pm,v
retrieving revision 1.152
retrieving revision 1.153
diff -u -d -r1.152 -r1.153
--- Man.pm	14 Jun 2006 18:49:53 -0000	1.152
+++ Man.pm	14 Jun 2006 20:37:28 -0000	1.153
@@ -875,7 +875,7 @@
             my $tmp2 = $tmp.$begin;
             if (   ($begin =~ m/(?<!\\)(\\\\)*\\s$/s)
                 or ($begin =~ m/(?<!\\)(\\\\)*\\\((.|E<[gl]t>)$/s)
-                or ($tmp2 =~ m/(?<!\\)(\\\\)*\\[hC]'([^']|(?<!\\)(\\\\)*\\')*$/)
+                or ($tmp2 =~ m/(?<!\\)(\\\\)*\\[hCv]'([^']|(?<!\\)(\\\\)*\\')*$/)
                 or ($tmp2 =~ m/(?<!\\)(\\\\)*\\\[([^\]]|(?<!\\)(\\\\)*\\\[)*$/)) {
                 # Do not change - to \- for
                 #  * \s-n (reduce font size)
@@ -883,6 +883,7 @@
                 #  * inside a \h'...'
                 #  * inside a \C'...'
                 #  * inside a \[...]
+                #  * inside a \v'...'
                 $tmp = $tmp2."-";
             } else {
                 $tmp = $tmp2."\\-";




More information about the Po4a-commits mailing list