Changeset 105482 in spip-zone for _plugins_/orthotypo


Ignore:
Timestamp:
Jul 27, 2017, 6:13:50 PM (13 months ago)
Author:
jack@…
Message:

Exponents m2 and m3 also available in English.
Some minor typos corrected.
No ?> at end of file

Location:
_plugins_/orthotypo/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/orthotypo/trunk/orthotypo_fonctions.php

    r104338 r105482  
    218218        }
    219219
    220         // si le texte ne contient pas de guill droit
     220        // si le texte ne contient pas de guillemets droits
    221221        // ou s'il contient deja des guillemets élaborés
    222222        // on ne touche pas
     
    308308                        ',(?<=3)(rd)\b,',
    309309                        ',(?<=\d)(th)\b,',
     310                        ',(?<=\m)(2)\b,',
     311                        ',(?<=\m)(3)\b,',
    310312                ), array(
    311                         _TYPO_sup, _TYPO_sup, _TYPO_sup, _TYPO_sup,
     313                        _TYPO_sup, _TYPO_sup, _TYPO_sup, _TYPO_sup, _TYPO_sup, _TYPO_sup,
    312314                ));
    313315        }
     
    477479                $cap_finder = "/(
    478480                    (\b[A-Z\d]*        # Group 2: Any amount of caps and digits
    479                     [A-Z]\d*[A-Z]      # A cap string much at least include two caps (but they can have digits between them)
     481                    [A-Z]\d*[A-Z]      # A cap string must at least include two caps (but they can have digits between them)
    480482                    [A-Z\d]*\b)        # Any amount of caps and digits
    481483                    | (\b[A-Z]+\.\s?   # OR: Group 3: Some caps, followed by a '.' and an optional space
     
    547549        return orthotypo_filtre_texte_echappe($texte,'orthotypo_corrections_rempl');
    548550}
    549 
    550 ?>
  • _plugins_/orthotypo/trunk/paquet.xml

    r103864 r105482  
    22        prefix="orthotypo"
    33        categorie="edition"
    4         version="1.4.3"
     4        version="1.4.4"
    55        etat="stable"
    66        compatibilite="[3.0.0;3.1.*]"
Note: See TracChangeset for help on using the changeset viewer.