From bd50d4201c432ee32ff6ce4a64d50bb5bb66448c Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Thu, 7 May 2009 08:41:59 +0300 Subject: [PATCH] also remove trailing dot --- chrome/icedeb.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/icedeb.js b/chrome/icedeb.js index 3b9eb7b..3a08f11 100644 --- a/chrome/icedeb.js +++ b/chrome/icedeb.js @@ -36,7 +36,7 @@ function trim_keyword(word) { word = word.replace(/^\s+/, ''); word = word.replace(/\s+$/, ''); word = word.replace(/^#/, ''); - word = word.replace(/[-:\/,]$/, ''); + word = word.replace(/[-:\/,.]$/, ''); } while ( oldword != word ); return word; -- 2.39.5