Overview
| Comment: | [fr] typo: signe moins |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk | fr |
| Files: | files | file ages | folders |
| SHA3-256: |
32b653322f19c1545ae64ac5682b9989 |
| User & Date: | olr on 2019-08-28 15:21:00 |
| Other Links: | manifest | tags |
Context
|
2019-08-29
| ||
| 06:55 | [fr] faux positif check-in: 727448cb19 user: olr tags: trunk, fr | |
|
2019-08-28
| ||
| 15:21 | [fr] typo: signe moins check-in: 32b653322f user: olr tags: trunk, fr | |
| 12:57 | [build][core]disambiguation: add_morph(), [fr] faux positif et ajustements check-in: daccfe7e1c user: olr tags: trunk, fr, core, build | |
Changes
Modified gc_lang/fr/rules.grx from [71c0a7c8ba] to [82662af03c].
| ︙ | |||
407 408 409 410 411 412 413 | 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 | - + |
->> \1-\3|\1 – \3|\1 — \3 # Espace superflu s’il s’agit bien d’une forme conjuguée interrogative (sinon, il manque un espace à côté du tiret).
<<- __else__ -2>> " – | — " # Il manque un espace à côté du tiret.
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
|
| ︙ | |||
1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 | 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 | + + + + + + + |
(\d+) ?[x*] ?(\d+) @@0,$ <<- not \0.startswith("0x") ->> \1 × \2 # Signe de multiplication typographique.
TEST: {{800 x 600}} ->> 800 × 600
TEST: {{800*600}} ->> 800 × 600
TEST: {{800 * 600}} ->> 800 × 600
TEST: nombre au format hexadécimal : 0x4407
__<s]/typo(typo_signe_moins)__
-(\d+) @@$ <<- not before("\\w$") ->> −\1|– \1|— \1
# S’il s’agit de représenter un nombre négatif, utilisez le signe typographique “moins”. S’il s’agit d’une incise, utilisez un tiret demi-cadratin ou un tiret cadratin.
TEST: Résultat : {{-72}}.
__<s>/typo(typo_inférieur_ou_égal)__ [\w ](<=)[\w ] @@* <<- -1>> ≤|⩽ # Signe “inférieur ou égal”.
__<s>/typo(typo_supérieur_ou_égal)__ [\w ](>=)[\w ] @@* <<- -1>> ≥|⩾ # Signe “supérieur ou égal”.
TEST: 3{{>=}}2
TEST: est-ce que a {{<=}} c
|
| ︙ |