Boost logo

Boost :

Subject: Re: [boost] [xpressive] regex_token_iterator - bug, feature, misunderstanding query?
From: Michael Goldshteyn (mgoldshteyn_at_[hidden])
Date: 2008-12-03 13:24:09


"Eric Niebler" <eric_at_[hidden]> wrote in message
news:4936C62D.3000502_at_boost-consulting.com...
> Michael Goldshteyn wrote:
> ...
> In your case, subs[0] is -1 and prev->suffix().length() is 0 after
> matching the trailing '/', so *this becomes the end-of-sequence iterator
> and we're done. I don't myself remember the rationale for requiring the
> suffix to be non-empty. Perhaps it is for parity with perl.
>
> --
> Eric Niebler
> BoostPro Computing
> http://www.boostpro.com

Thanks for the insightful response. I'll just work around it.

Michael Goldshteyn


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