diff options
-rw-r--r-- | extensions/BMO/Extension.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/BMO/Extension.pm b/extensions/BMO/Extension.pm index c3c337ec5..1e54dbfdf 100644 --- a/extensions/BMO/Extension.pm +++ b/extensions/BMO/Extension.pm @@ -431,11 +431,11 @@ sub bug_format_comment { my ($self, $args) = @_; my $regexes = $args->{'regexes'}; - # link UUIDs to crash-stats + # link to crash-stats # Only match if not already in an URL using the negative lookbehind (?<!\/) push (@$regexes, { - match => qr/(?<!\/)\b(?:UUID\s+|bp\-)([a-f0-9]{8}\-[a-f0-9]{4}\-[a-f0-9]{4}\- - [a-f0-9]{4}\-[a-f0-9]{12})\b/x, + match => qr/(?<!\/)\bbp-([a-f0-9]{8}\-[a-f0-9]{4}\-[a-f0-9]{4}\- + [a-f0-9]{4}\-[a-f0-9]{12})\b/x, replace => sub { my $args = shift; my $match = html_quote($args->{matches}->[0]); |