diff options
author | terry%netscape.com <> | 1999-01-30 07:07:09 +0100 |
---|---|---|
committer | terry%netscape.com <> | 1999-01-30 07:07:09 +0100 |
commit | 7e7e401e8095f259cdaf73d583990d904d85967c (patch) | |
tree | 014ecf64e9a7919de6b80510086427dfc522b9e1 | |
parent | 115627dbd647e874d7f7f28440a6fe1943fd33a9 (diff) | |
download | bugzilla-7e7e401e8095f259cdaf73d583990d904d85967c.tar.gz bugzilla-7e7e401e8095f259cdaf73d583990d904d85967c.tar.xz |
Some installations of perl seem very picky about their regexps.
-rw-r--r-- | globals.pl | 4 |
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 $_; } |