From: Damyan Ivanov Date: Tue, 17 Apr 2012 17:58:48 +0000 (+0300) Subject: strip "Bug#" from keyword start X-Git-Tag: 1.8~1 X-Git-Url: https://git.ktnx.net/?p=icedeb.git;a=commitdiff_plain;h=cf48a5c534dc3c9b62246b298be6c15e3d6e7737 strip "Bug#" from keyword start --- diff --git a/chrome/content/icedeb.js b/chrome/content/icedeb.js index e6c7adb..19cf120 100644 --- a/chrome/content/icedeb.js +++ b/chrome/content/icedeb.js @@ -39,6 +39,7 @@ IceDeb = { word = word.replace(/^[^a-zA-Z0-9]+/, ''); word = word.replace(/[^a-zA-Z0-9]+$/, ''); + word = word.replace(/^Bug#/i, ''); } while ( oldword != word ); return word;