(?:\s|$) works better than \s.
An other alternative is \b, which will chop after a word, but before punctuation.
In reply to Re^2: Splitting a string into words
by ikegami
in thread Splitting a string into words
by webchalkboard
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |