in reply to
Re: Inefficient regex
in thread Inefficient regex
Note:\S+ is the same as [^\s+]
\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.
Results (293 votes),