]> git.ktnx.net Git - icedeb.git/commitdiff
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 e6c7adbcc2f0b3d4d487cb5ff04a607c5701e20b..19cf1207f1a64fc3dc798c94ddb04d43353270ee 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;