Overview
Comment: | [fr] fix JS positioning code and regex |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | fr | comdic |
Files: | files | file ages | folders |
SHA3-256: |
d3187b7cd8ed6d897c69675350a5db0d |
User & Date: | olr on 2019-02-10 00:31:06 |
Other Links: | branch diff | manifest | tags |
Context
2019-02-10
| ||
00:31 | [core][js] echo function for debugging check-in: bcd8a483d5 user: olr tags: comdic, core | |
00:31 | [fr] fix JS positioning code and regex check-in: d3187b7cd8 user: olr tags: comdic, fr | |
2019-02-09
| ||
20:27 | merge trunk check-in: aea2e8d9ee user: olr tags: comdic | |
Changes
Modified gc_lang/fr/rules.grx from [17d13b9474] to [38f890a9aa].
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
...
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
|
__[s>(p_MM_point)__ MM[.] <<- ~>> "MM " __[s>(p_Mr_Mgr_Mme_point)__ M(?:r|gr|me) [A-ZÉ]([.])(?=\W+[a-zéèêâîïû]) @@$ <<- ~1>> * # Patronyme réduit à une seule lettre __[s](p_prénom_lettre_point_patronyme)__ ([A-ZÉÈÂÎ][\w-]+)[ ][A-ZÉÈÂ]([.])[ ]([A-ZÉÈÂ][\w-]+) @@0,$,$ <<- morph(\1, ":M[12]") and (morph(\3, ":(?:M[12]|V)") or not spell(\3)) ~2>> * __[s>(p_prénom_lettre_point)__ ([A-ZÉÈÂÎ][\w-]+)[ ][A-ZÉÈÂ]([.]) @@0,$ <<- morph(\1, ":M[12]") and after("^\\W+[a-zéèêîïâ]") ~2>> _ # Patronymes composés avec Le/La/Les __[s](p_patronyme_composé_avec_le_la_les)__ ................................................................................ !! !!!! Ponctuation de fin de paragraphe !! !! !! __[i>/poncfin__ ({w_1}) *$ @@0 <<- before("\\w+(?:[.]|[ ][!?]) +([A-ZÉÈÎ]\w+|[ÀÔ])") -1>> \1.|\1 !|\1 ? # Il semble manquer une ponctuation finale (s’il s’agit d’un titre, le point final n’est pas requis). TEST: __poncfin__ Vraiment. Quel {{ennui}} TEST: Internet : le nouvel eldorado TEST: OMC-FMI : Les nouveaux maîtres du monde !! |
|
|
|
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
...
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
|
__[s>(p_MM_point)__ MM[.] <<- ~>> "MM " __[s>(p_Mr_Mgr_Mme_point)__ M(?:r|gr|me) [A-ZÉ]([.])(?=\W+[a-zéèêâîïû]) @@$ <<- ~1>> * # Patronyme réduit à une seule lettre __[s](p_prénom_lettre_point_patronyme)__ ([A-ZÉÈÂÎ][\w-]+)[ ][A-ZÉÈÂ]([.])[ ]([A-ZÉÈÂ][\w-]+) @@0,*,$ <<- morph(\1, ":M[12]") and (morph(\3, ":(?:M[12]|V)") or not spell(\3)) ~2>> * __[s>(p_prénom_lettre_point)__ ([A-ZÉÈÂÎ][\w-]+)[ ][A-ZÉÈÂ]([.]) @@0,$ <<- morph(\1, ":M[12]") and after("^\\W+[a-zéèêîïâ]") ~2>> _ # Patronymes composés avec Le/La/Les __[s](p_patronyme_composé_avec_le_la_les)__ ................................................................................ !! !!!! Ponctuation de fin de paragraphe !! !! !! __[i>/poncfin__ ({w_1}) *$ @@0 <<- before("\\w+(?:\\.|[ ][!?]) +(?:[A-ZÉÈÎ]\\w+|[ÀÔ])") -1>> \1.|\1 !|\1 ? # Il semble manquer une ponctuation finale (s’il s’agit d’un titre, le point final n’est pas requis). TEST: __poncfin__ Vraiment. Quel {{ennui}} TEST: Internet : le nouvel eldorado TEST: OMC-FMI : Les nouveaux maîtres du monde !! |