From: lpsolit%gmail.com <> Date: Tue, 21 Oct 2008 08:07:53 +0000 (+0000) Subject: Fix bustage due to bug 105865: Perl 5.8.x doesn't understand \h. We have to use ... X-Git-Tag: bugzilla-3.3.1~107 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06d09afdbf093d8ea2bee1bd7b0c13647651bf58;p=thirdparty%2Fbugzilla.git 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 --- diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index 3f7205ca74..fbddbb3956 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