in reply to Re: parse a string
in thread parse a string

This works provided the last section consists of only alphanumerics, since \w won't match anything else. Try this on the string 'Some people don't' and it only matches the 't', using the \S solution is probably safer in the long term.

Nice use of the inline substitution though, really should get more used to using that idiom.