]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Some installations of perl seem very picky about their regexps.
authorterry%netscape.com <>
Sat, 30 Jan 1999 06:07:09 +0000 (06:07 +0000)
committerterry%netscape.com <>
Sat, 30 Jan 1999 06:07:09 +0000 (06:07 +0000)
globals.pl

index b924831b88d7616f1d70f92e14b072625370f364..439e36cea2a0945ff379055f963f9e0b2a7c2d0e 100644 (file)
@@ -513,8 +513,8 @@ sub PerformSubsts {
 
 sub trim {
     ($_) = (@_);
-    s/^\s*//g;
-    s/\s*$//g;
+    s/^\s+//g;
+    s/\s+$//g;
     return $_;
 }