From 06d09afdbf093d8ea2bee1bd7b0c13647651bf58 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 21 Oct 2008 08:07:53 +0000 Subject: Fix bustage due to bug 105865: Perl 5.8.x doesn't understand \h. We have to use [[:blank:]] instead. Patch by me, r=mkanat --- Bugzilla/Template.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla') diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index 3f7205ca7..fbddbb395 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -175,7 +175,7 @@ sub quoteUrls { # If the comment is already wrapped, we should ignore newlines when # looking for matching regexps. Else we should take them into account. - my $s = $already_wrapped ? qr/\s/ : qr/\h/; + my $s = $already_wrapped ? qr/\s/ : qr/[[:blank:]]/; # However, note that adding the title (for buglinks) can affect things # In particular, attachment matches go before bug titles, so that titles -- cgit v1.2.3-24-g4f1b