From 2a3c2541a74d6bf47da0ef321c9f19d7ab7fd003 Mon Sep 17 00:00:00 2001
From: renato <renato@rezo.net>
Date: Thu, 17 May 2007 16:29:37 +0000
Subject: [PATCH] mea culpa, the regexes from [9306] were not good

---
 dist/javascript/SearchHighlight.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dist/javascript/SearchHighlight.js b/dist/javascript/SearchHighlight.js
index f9c4d9f44c..36df841b74 100644
--- a/dist/javascript/SearchHighlight.js
+++ b/dist/javascript/SearchHighlight.js
@@ -96,13 +96,13 @@
     },
 		regexAccent : [
       [/[\xC0-\xC5\u0100-\u0105]/ig,'a'],
-      [/\xC7\u0106-\u010D/ig,'c'],
+      [/[\xC7\u0106-\u010D]/ig,'c'],
       [/[\xC8-\xCB]/ig,'e'],
       [/[\xCC-\xCF]/ig,'i'],
       [/\xD1/ig,'n'],
       [/[\xD2-\xD6\xD8]/ig,'o'],
-      [/\u015A-\u0161/ig,'s'],
-      [/\u0162-\u0167/ig,'t'],
+      [/[\u015A-\u0161]/ig,'s'],
+      [/[\u0162-\u0167]/ig,'t'],
       [/[\xD9-\xDC]/ig,'u'],
       [/\xFF/ig,'y'],
       [/[\x91\x92\u2018\u2019]/ig,'\'']
-- 
GitLab