in reply to
Line trimming regex doesn't work as expected
Judging by the rest of the code,
85+
probably should be
85\+
. Beyond that, we need to know what you need this function to do. Are you using us in lieu of testing?
Comment on
Re: $line = trim($line);
Select
or
Download
Code
In Section
Seekers of Perl Wisdom