Skip to content
Extraits de code Groupes Projets
Valider 2a3c2541 rédigé par renato's avatar renato
Parcourir les fichiers

mea culpa, the regexes from [9306] were not good

parent a61ca800
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -96,13 +96,13 @@ ...@@ -96,13 +96,13 @@
}, },
regexAccent : [ regexAccent : [
[/[\xC0-\xC5\u0100-\u0105]/ig,'a'], [/[\xC0-\xC5\u0100-\u0105]/ig,'a'],
[/\xC7\u0106-\u010D/ig,'c'], [/[\xC7\u0106-\u010D]/ig,'c'],
[/[\xC8-\xCB]/ig,'e'], [/[\xC8-\xCB]/ig,'e'],
[/[\xCC-\xCF]/ig,'i'], [/[\xCC-\xCF]/ig,'i'],
[/\xD1/ig,'n'], [/\xD1/ig,'n'],
[/[\xD2-\xD6\xD8]/ig,'o'], [/[\xD2-\xD6\xD8]/ig,'o'],
[/\u015A-\u0161/ig,'s'], [/[\u015A-\u0161]/ig,'s'],
[/\u0162-\u0167/ig,'t'], [/[\u0162-\u0167]/ig,'t'],
[/[\xD9-\xDC]/ig,'u'], [/[\xD9-\xDC]/ig,'u'],
[/\xFF/ig,'y'], [/\xFF/ig,'y'],
[/[\x91\x92\u2018\u2019]/ig,'\''] [/[\x91\x92\u2018\u2019]/ig,'\'']
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter