strip "Bug#" from keyword start
authorDamyan Ivanov <dmn@debian.org>
Tue, 17 Apr 2012 17:58:48 +0000 (20:58 +0300)
committerDamyan Ivanov <dmn@debian.org>
Tue, 17 Apr 2012 17:58:48 +0000 (20:58 +0300)
chrome/content/icedeb.js

index e6c7adb..19cf120 100644 (file)
@@ -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;