This is ofcourse C++ and not perl. Still, for completeness sake:
I ended up using boost::regex_token_iterator.
So in all it's glorious simplicity it ended up being just:
boost::regex re("\\s+");
Regards.
In reply to Re^3: Regex match for Any number of words?
by sbrothy
in thread Regex match for Any number of words?
by sbrothy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |