From: terry%netscape.com <> Date: Sat, 30 Jan 1999 06:07:09 +0000 (+0000) Subject: Some installations of perl seem very picky about their regexps. X-Git-Tag: bugzilla-2.2~21 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7e7e401e8095f259cdaf73d583990d904d85967c;p=thirdparty%2Fbugzilla.git Some installations of perl seem very picky about their regexps. --- diff --git a/globals.pl b/globals.pl index b924831b88..439e36cea2 100644 --- a/globals.pl +++ b/globals.pl @@ -513,8 +513,8 @@ sub PerformSubsts { sub trim { ($_) = (@_); - s/^\s*//g; - s/\s*$//g; + s/^\s+//g; + s/\s+$//g; return $_; }