summaryrefslogtreecommitdiffstats
path: root/globals.pl
diff options
context:
space:
mode:
authorterry%netscape.com <>1999-01-30 07:07:09 +0100
committerterry%netscape.com <>1999-01-30 07:07:09 +0100
commit7e7e401e8095f259cdaf73d583990d904d85967c (patch)
tree014ecf64e9a7919de6b80510086427dfc522b9e1 /globals.pl
parent115627dbd647e874d7f7f28440a6fe1943fd33a9 (diff)
downloadbugzilla-7e7e401e8095f259cdaf73d583990d904d85967c.tar.gz
bugzilla-7e7e401e8095f259cdaf73d583990d904d85967c.tar.xz
Some installations of perl seem very picky about their regexps.
Diffstat (limited to 'globals.pl')
-rw-r--r--globals.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/globals.pl b/globals.pl
index b924831b8..439e36cea 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 $_;
}