aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorterry%netscape.com <>1999-01-30 06:07:09 +0000
committerterry%netscape.com <>1999-01-30 06:07:09 +0000
commit7e7e401e8095f259cdaf73d583990d904d85967c (patch)
tree014ecf64e9a7919de6b80510086427dfc522b9e1 /globals.pl
parentMove CC and qa-assigned-to info from Bugsplat bugs to Bugzilla. (diff)
downloadbugzilla-7e7e401e8095f259cdaf73d583990d904d85967c.tar.gz
bugzilla-7e7e401e8095f259cdaf73d583990d904d85967c.tar.bz2
bugzilla-7e7e401e8095f259cdaf73d583990d904d85967c.zip
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 $_;
}