From: Damyan Ivanov Date: Thu, 7 May 2009 05:41:59 +0000 (+0300) Subject: also remove trailing dot X-Git-Tag: 0.9~1 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=bd50d4201c432ee32ff6ce4a64d50bb5bb66448c;p=icedeb.git also remove trailing dot --- 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;