Index: gc_lang/fr/rules.grx ================================================================== --- gc_lang/fr/rules.grx +++ gc_lang/fr/rules.grx @@ -311,14 +311,15 @@ TEST: c’est (enfin{{ )}} parti. TEST: voici des (parenthèses{{ )}}, n’est-ce pas ? ->> ) # Parenthèses collées -__/typo(typo_parenthese_fermante_collée)__ [)]\b(?!s\b) <<- ->> ") " # Il manque un espace après la parenthèse. +__/typo(typo_parenthese_fermante_collée)__ [)]\b(?![s¹²³⁴⁵⁶⁷⁸⁹⁰]\b) <<- ->> ") " # Il manque un espace après la parenthèse. __/typo(typo_parenthese_ouvrante_collée)__ \b[(](?=[^)][^)][^)]) <<- ->> " (" # Il manque un espace avant la parenthèse. TEST: C’est au fond du couloir{{(}}celui du deuxième étage{{)}}qu’il se trouve. +TEST: (a + b)² # Points et espaces __/typo(typo_point_entre_deux_espaces)__ [  ][.](?=[  ]) <<- ->> . # Pas d’espace avant un point. __/typo(typo_point_collé_à_mot_suivant)__ [  ][.](?=\w) <<- ->> ". |." # L’espace se place après le point, et non avant (ou bien sert de liant entre deux lettres).