Aside from that, consider doing it manually. You could either use the find_if algorithm supplied with a functor predicate to identify delimiters or just do a simple traversal and check for them one at a time.
Just some ideas (presented in order of awesomeness).