
3 Dec
2008
3 Dec
'08
6:24 p.m.
"Eric Niebler" <eric@boost-consulting.com> wrote in message news:4936C62D.3000502@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