summaryrefslogtreecommitdiff
path: root/bin/lo-commit-stat
diff options
context:
space:
mode:
Diffstat (limited to 'bin/lo-commit-stat')
-rwxr-xr-xbin/lo-commit-stat4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/lo-commit-stat b/bin/lo-commit-stat
index 1b495251c6e9..0697432e333f 100755
--- a/bin/lo-commit-stat
+++ b/bin/lo-commit-stat
@@ -42,9 +42,9 @@ 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/[Rr]esolves:\s*$bug_orig\s*//;
+ $line =~ s/[Rr]esolve[ds]:?\s*$bug_orig\s*//;
$line =~ s/\s*-\s*$bug_orig\s*//;
- $line =~ s/\(?$bug_orig\)?[:,]?\s*//;
+ $line =~ s/\(?$bug_orig\)?\s*[:,-]?\s*//;
# bnc# is preferred over n# for novell bugs
$bug =~ s/^n\#/bnc#/;