User:Phe/Dict tess typography
Appearance
< User:Phe
# format : # comment start with a # at begin of line # couple of line regexp / replacement _ _ _ —- — --\n -\n -- — #—- #— #·— #— #([0-9]+)\* #\1° -— — —— — —([A-Z]) — \1 \. ·- . — ·- - ([a-z])#\n({a-z]) \1-\2 ([a-z])-[^a-z]\n([a-z]) \1-\n\2 [~=][»]\n -\n -[~=»]\n -\n ([a-z])=\n \1-\n (?m) (l|i|\|)$ (?m)^[ ·.`,'‘[]+ T1oN TION # match with * to get left and right rh ^(.*)([0-9]) ?([0-9]) ?([0-9]) \1\2\3\4 ^(.*)([0-9]) ?o ?([0-9]) \1\g<2>0\3 ^(.*)([0-9]) ?([0-9]) \1\2\3 ^(.*)([0-9]) \1\2 ^(.*)([0-9]+) ?I\n \1\g<2>1\n ^(.*)([0-9]+) ?o \1\g<2>0 ^I ?([0-9]+) 1\1 ^(.*)([0-9]) ?I ?([0-9]) \1\g<2>1\3 ^(.*)([0-9]) ?Q ?([0-9]) \1\g<2>9\3 ^(.*) ?Q ?([0-9]) \g<1>9\2 ^(.*)([0-9]+)[\.,] \1\2 # all number transform must go before any use of number, see ,([^ 0-9\)\n]) r([0-9][0-9][0-9]) 1\1 I([0-9]) 1\1 ([0-9][0-9])o \g<1>0 I([0-9])\. 1\1. ([0-9])[il]([0-9][0-9]) \g<1>1\2 ([0-9][0-9])[il]([0-9]) \g<1>1\2 [il]([0-9][0-9][0-9]) 1\1 \broo\b 100 ([0-9][0-9][0-9])[il] \g<1>1 \b([0-9][0-9])([oO])([0-9]) \g<1>0\3 \b([0-9])([oO])([0-9][0-9]) \g<1>0\3 #([0-9]),([0-9][0-9])([oO])([0-9]) #\g<1>0\3 #([0-9]),([0-9])([oO])([0-9][0-9]) #\1,\g<2>0\3 ([0-9]),([oO])([0-9])([0-9]) \1,0\3\4 ([0-9]),([0-9])([oO])([0-9]) \1,\g<2>0\4 ([0-9]),([0-9])([0-9])([oO]) \1,\2\g<3>0 ([oO])([0-9])([0-9]),([0-9]) 0\2\3,\4 ([0-9])([oO])([0-9]),([0-9]) \g<1>0\3,\4 ([0-9])([0-9])([oO]),([0-9]) \1\g<2>0,\4 £([0-9]+)([oO]) £\g<1>0 ([oO])([0-9]),([0-9]) 0\2,\3 ([0-9])([oO]),([0-9]) \g<1>0,\3 ([0-9]),([0-9])I([0-9]) \1,\g<2>1\3 \b([0-9][0-9])I([0-9]) \g<1>1\2 \bI([0-9])I([0-9]) 1\g<1>1\2 \bI([0-9][0-9][0-9]) 1\1 I([0-9]),([0-9]) 1\1,\2 p\. I([0-9]) p. 1\1 p\. II([0-9]) p. 11\1 \bIQOO\b 1900 \bIQOI\b 1901 \bIQO([0-9])\b 190\1 \bIOOO\b 1000 I([0-9][0-9]) 1\1 \booo\b 000 \brooo\b 1000 \b([0-9])ooo \g<1>000 \bzooo 2000 \bIooo\b 1000 ([0-9])oo \g<1>00 ([a-z])[=~·]\n([a-z]) \1-\n\2 , , ,([^ 0-9\)\n]) , \1 §([^ §]) § \1 ([a-z])·· \1- ·$ ,([a-z]) , \1 \n([li]) \n '\n \n ([a-z])~([a-zA-Z]) \1-\2 \( ( \) ) H istoire Histoire isloire istoire Vhistoire l'histoire Hisl\. Hist.