Changeset 47576 in spip-zone


Ignore:
Timestamp:
May 9, 2011, 12:05:00 AM (10 years ago)
Author:
patfr@…
Message:

Pétouille
Histoire de corriger l'exemple donné lors de [47574] :

function typo_exposants_installe() {
	$data = typo_exposants_installe_dist();
	$data['fr'][0][] = '/exemple/';
	$data['fr'][1][] = 'ex<sup>emple</sup>';
	return $data;
}
function spam_installe() {
	$data = spam_installe_dist();
	$data[0][0][] = 'verybadword';
	return $data;
}
File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/couteau_suisse/outils/typo_exposants.php

    r47575 r47576  
    2929                "/(?<=\bS)(t(?:$eaigu1)s?)(?=\W)/", "/(?<=\W)(?:E|$eaigu2)ts\b/",        // Societes(s), Etablissements
    3030
    31                 '/(?<=\b[1I])i?(ers?)\b/',      // 1er(s), Erreurs 1ier(s), 1ier(s)
     31                '/(?<=\b[1I])i?(ers?)\b/',      // 1er(s), Erreurs 1(i)er(s), I(i)er(s)
    3232                "/(?<=\b[1I])i?(?:e|$egrave)(res?)\b/", // Erreurs 1(i)ere(s) + accents
    3333                '/(?<=\b1)(r?es?)\b/', // 1e(s), 1re(s)
Note: See TracChangeset for help on using the changeset viewer.