[Po4a-commits] "po4a/lib/Locale/Po4a Man.pm,1.210,1.211"

Denis Barbier barbier-guest at alioth.debian.org
Mon Jul 19 20:52:08 UTC 2010


Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory alioth:/tmp/cvs-serv19054/lib/Locale/Po4a

Modified Files:
	Man.pm 
Log Message:
In Man module, let do_fonts() routine handle all font modifiers defined in $FONT_RE


Index: Man.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Man.pm,v
retrieving revision 1.210
retrieving revision 1.211
diff -u -d -r1.210 -r1.211
--- Man.pm	17 Apr 2010 08:45:14 -0000	1.210
+++ Man.pm	19 Jul 2010 20:52:06 -0000	1.211
@@ -1638,7 +1638,7 @@
                 $elem =~ s/^3/B/;
                 $elem =~ s/^4/(BI/;
 
-            if ($elem =~ /^([1-4]|B|I|R|\(CW|\[\]|\[P\]|L)(.*)$/s) {
+            if ($elem =~ /^([1-4]|B|I|R|\(..|\[[^]]*\]|L)(.*)$/s) {
                 # Each element should now start by a recognized font modifier
                 my $new_font = $1;
                 my $arg = $2;




More information about the Po4a-commits mailing list