From: Damyan Ivanov Date: Wed, 22 Aug 2018 12:28:58 +0000 (+0000) Subject: trim leading hash sign X-Git-Tag: 2.1~1 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=a4db86e8cb6594135a08082218f31da47a72bb79;p=icedeb.git trim leading hash sign --- diff --git a/icedeb.js b/icedeb.js index e652540..b9e8460 100644 --- a/icedeb.js +++ b/icedeb.js @@ -30,6 +30,7 @@ function trim(word) { word = word.replace(/^[^a-zA-Z0-9]+/, ''); word = word.replace(/[^a-zA-Z0-9]+$/, ''); word = word.replace(/^Bug#/i, ''); + word = word.replace(/^#/, ''); } while ( oldword != word ); return word;