Index: gc_lang/fr/modules/textformatter.py ================================================================== --- gc_lang/fr/modules/textformatter.py +++ gc_lang/fr/modules/textformatter.py @@ -80,20 +80,20 @@ ("^[-–—](?=[\\w.…])", "– ") ], "ts_m_dash_start": [ ("^[-–][  ]", "— "), ("^— ", "— "), ("^«[  ][—–-][  ]", "« — "), ("^[-–—](?=[\\w.…])", "— ") ], - "ts_quotation_marks": [ (u'"(\\w+)"', "“$1”"), + "ts_quotation_marks": [ ('"(\\w+)"', "“$1”"), ("''(\\w+)''", "“$1”"), ("'(\\w+)'", "“$1”"), ("^(?:\"|'')(?=\\w)", "« "), (" (?:\"|'')(?=\\w)", " « "), ("\\((?:\"|'')(?=\\w)", "(« "), ("(?<=\\w)(?:\"|'')$", " »"), ("(?<=\\w)(?:\"|'')(?=[] ,.:;?!…)])", " »"), - (u'(?<=[.!?…])" ', " » "), - (u'(?<=[.!?…])"$', " »") ], + ('(?<=[.!?…])" ', " » "), + ('(?<=[.!?…])"$', " »") ], "ts_spell": [ ("coeur", "cœur"), ("Coeur", "Cœur"), ("coel(?=[aeio])", "cœl"), ("Coel(?=[aeio])", "Cœl"), ("choeur", "chœur"), ("Choeur", "Chœur"), ("foet", "fœt"), ("Foet", "Fœt"), ("oeil", "œil"), ("Oeil", "Œil"),