in reply to Re: Re: Inefficient regex
in thread Inefficient regex
Thelonius, your note is not correct:
\s+ - matches one or more space characters
[^\s+] - matches one character that is not a space nor a '+'
[^\s]+ - (what you may have meant) matches one or more non-space characters.
In Section
Seekers of Perl Wisdom