Index: gc_lang/fr/modules/textformatter.py ================================================================== --- gc_lang/fr/modules/textformatter.py +++ gc_lang/fr/modules/textformatter.py @@ -78,13 +78,13 @@ ("^[-–—](?=[\\w.…])", "– ") ], "ts_m_dash_start": [ ("^[-–][  ]", "— "), ("^— ", "— "), ("^«[  ][—–-][  ]", "« — "), ("^[-–—](?=[\\w.…])", "— ") ], - "ts_quotation_marks": [ ('"(\\w+)"', "“$1”"), - ("''(\\w+)''", "“$1”"), - ("'(\\w+)'", "“$1”"), + "ts_quotation_marks": [ ('"(\\w+)"', "“\\1”"), + ("''(\\w+)''", "“\\1”"), + ("'(\\w+)'", "“\\1”"), ("^(?:\"|'')(?=\\w)", "« "), (" (?:\"|'')(?=\\w)", " « "), ("\\((?:\"|'')(?=\\w)", "(« "), ("(?<=\\w)(?:\"|'')$", " »"), ("(?<=\\w)(?:\"|'')(?=[] ,.:;?!…)])", " »"), @@ -106,16 +106,16 @@ ("voeu", "vœu"), ("Voeu", "Vœu"), ("aequo", "æquo"), ("Aequo", "Æquo"), ("\\bCa\\b", "Ça"), (" ca\\b", " ça"), ("\\bdej[aà]\\b", "déjà"), ("\\bplutot\\b", "plutôt"), ("\\bmeme\\b", "même"), ("\\bmemes\\b", "mêmes"), ("\\bMeme\\b", "Même"), - ("\\b([cC]e(?:ux|lles?|lui))-la\\b", "$1-là"), + ("\\b([cC]e(?:ux|lles?|lui))-la\\b", "\\1-là"), ("\\bmalgre\\b", "malgré"), ("\\bMalgre\\b", "Malgré"), ("\\betre\\b", "être"), ("\\bEtre\\b", "Être"), ("\\btres\\b", "très"), ("\\bTres\\b", "Très"), - ("\\bEtai([ts]|ent)\\b", "Étai$1"), - ("\\bE(tat|cole|crit|poque|tude|ducation|glise|conomi(?:qu|)e|videmment|lysée|tienne|thiopie|cosse|gypt(?:e|ien)|rythrée|pinal|vreux)", "É$1") ], + ("\\bEtai([ts]|ent)\\b", "Étai\\1"), + ("\\bE(tat|cole|crit|poque|tude|ducation|glise|conomi(?:qu|)e|videmment|lysée|tienne|thiopie|cosse|gypt(?:e|ien)|rythrée|pinal|vreux)", "É\\1") ], "ts_ligature_ffi_on": [("ffi", "ffi")], "ts_ligature_ffl_on": [("ffl", "ffl")], "ts_ligature_fi_on": [("fi", "fi")], "ts_ligature_fl_on": [("fl", "fl")], "ts_ligature_ff_on": [("ff", "ff")],