Grammalecte  Check-in [249d9c7d08]

Overview
Comment:[fr] erreur de paramètre
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | fr
Files: files | file ages | folders
SHA3-256: 249d9c7d080ecb69740feb97882f63fcdb78cc894262c367911647783592af5c
User & Date: olr on 2019-05-11 15:17:04
Other Links: manifest | tags
Context
2019-05-11
15:54
[core][fr] code cleaning (pylint) check-in: 2c639e2d92 user: olr tags: trunk, fr, core
15:17
[fr] erreur de paramètre check-in: 249d9c7d08 user: olr tags: trunk, fr
15:11
[fr] erreur de paramètre check-in: 51e717f8bc user: olr tags: trunk, fr
Changes

Modified gc_lang/fr/rules.grx from [867a96047f] to [1a804536bf].

1290
1291
1292
1293
1294
1295
1296
1297

1298
1299
1300
1301
1302
1303
1304
1290
1291
1292
1293
1294
1295
1296

1297
1298
1299
1300
1301
1302
1303
1304







-
+







!!
!!!! Dates                                                                                        !!
!!
!!
__[i]/date(date_nombres)__
    (?<!\d[ /.-])(\d\d?)([ /.-])(\d\d?)([ /.-])(\d\d\d+)(?![ /.-]\d)  @@0,*,w,**,$
    <<- \2 == \4 and not checkDate(\1, \3, \5) and not before("(?i)\\b(?:version|article)s? +$") ->> _                       # Cette date est invalide.
    <<- ~>> =\0.replace(".", "-").replace(" ", "-").replace("\/", "-")
    <<- ~>> =\0.replace(".", "-").replace(" ", "-").replace("/", "-")

TEST: le {{29 02 2011}}
TEST: le {{40-02-2011}}
TEST: le {{32.03.2018}}
TEST: le {{81/01/2012}}
TEST: 12-12-2012
TEST: Articles 32.17-918 et 98.17-761