summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/lo-commit-stat2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/lo-commit-stat b/bin/lo-commit-stat
index 92dd5e5ca088..e33ca798f41e 100755
--- a/bin/lo-commit-stat
+++ b/bin/lo-commit-stat
@@ -55,7 +55,7 @@ sub search_bugs($$$$)
# print " found $bug\n";
# remove bug number from the comment; it will be added later a standardized way
$bug_orig =~ s/\#/\\#/;
- $line =~ s/(,\s)*[Rr](elated|esolve[ds]):?\s*$bug_orig\s*//;
+ $line =~ s/(,\s)*[Rr](elated|esolve[ds]):?\s*$bug_orig\s?:?\s*//;
$line =~ s/\s*-\s*$bug_orig\s*//;
$line =~ s/\(?$bug_orig\)?\s*[:,-]?\s*//;