#104 Bug ID taken from commit not working

open
nobody
None
5
2009-12-11
2009-12-11
Jürgen Schmitz
No

Looks like this is not working - in none of the commit scripts:
my @bugs = ();
$bug_ids =~ s/.*[Bb][Uu][Gg]:?(\d+)\b.*/$1 /g;
while ($bug_ids =~ /\b[Bb][Uu][Gg]:?\s*(\d+)\b/g) {
push @bugs, $1;
}

I changed it this way and it works:

my @bugs = ();
$bug_ids =~ s/.*[Bb][Uu][Gg]:?(\d+)\b.*/$1 /g;
while ($bug_ids =~ /\b(\d+) /g) {
push @bugs, $1;
}

First regex removes the "bug" text. So I'm wondering if really nobody is using this feature.

Discussion