Index: gc_lang/fr/rules.grx ================================================================== --- gc_lang/fr/rules.grx +++ gc_lang/fr/rules.grx @@ -392,11 +392,11 @@ # Espace avant ou après tiret __[i]/esp(esp_avant_après_tiret)__ ({w_1})( [-–—]|[-–—] )({w_1}) @@0,**,$ - <<- not \1.endswith("-t") and \3 != "t" >>> + <<- not \1.endswith("-t") and \3 != "t" and not (\2 == " -" and \3.isdigit()) >>> <<- (\3 == "je" and morph(\1, ":1s")) or (\3 == "tu" and morph(\1, ":2s")) or (\3 == "il" and morph(\1, ":3s")) or (\3 == "elle" and morph(\1, ":3s")) or (\3 == "on" and morph(\1, ":3s")) @@ -409,10 +409,11 @@ TEST: Le {{faut -il}} ? ->> faut-il|faut – il|faut — il TEST: qu’y {{puis -je}} ? ->> puis-je|puis – je|puis — je TEST: Le {{faut -il}} ? ->> faut-il|faut – il|faut — il TEST: qu’y {{puis -je}} ? ->> puis-je|puis – je|puis — je +TEST: L’exposant -127, code 0000 0000, est réservé pour zéro # Espaces et crochets et parenthèses __/typo(typo_espace_après_signe_ouvrant)__ "([\[(]) " @@0 <<- ->> \1 # Pas d’espace après ce signe. __/typo(typo_espace_avant_signe_fermant)__ " ([\])])" ([\]\)]) @@1 <<- ->> \1 # Pas d’espace avant ce signe.