http://qs321.pair.com?node_id=240686


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.