Boost logo

Boost :

From: Jody Hagins (jody-boost-011304_at_[hidden])
Date: 2005-07-13 13:13:29


On Wed, 13 Jul 2005 19:00:12 +0200
"Jan Hermelink" <Jan.Hermelink_at_[hidden]> wrote:

> "If the end of sequence is reached (regex_search returns false), the
> iterator becomes equal to the end-of-sequence iterator value, unless
> the sub-expression being enumerated has index -1: In which case the
> iterator enumerates one last string that contains all the characters
> from the end of the last regular expression match to the end of the
> input sequence being enumerated, provided that this would not be an
> empty string."
>
> !!! "provided that this would not be an empty string" !!!

Why does it have to jive with regex? If you want regex, use regex. If
you want split-like-a-script, then use split...


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk