Does sound like a bug. Can you go ahead and file it? I should have a
chance to investigate this (and the other issue you raised) in a few
days.
--
Braden McDaniel <bra...@endoframe.com>
I believe I've fixed this.
The problem is that Spirit doesn't know that it *isn't* parsing the
userinfo until it *doesn't* see the "@". But the userinfo iterators
were getting assigned *before* encountering "@" (because the range
shouldn't include the "@").
There are at least a couple of ways to solve this; the simplest (I
think) is just to introduce a temporary variable that can hold onto the
iterators while their assignment to the components<>::userinfo is
deferred until the "@" is seen. And that's what I've done.
I've also added tests to the testsuite to cover this case.
Thanks for finding this.
--
Braden McDaniel <bra...@endoframe.com>