Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2006-10-27 04:25:04


Joshua Stewart wrote:
> I think I got past it now.
>
>
>
> Had to change the alternation operator in the middle from
>
> (|-)
>
> to
>
> (?:)|-

Right, Boost.Regex regards empty alternatives as errors, if you really meant
to have an empty alternative then simply "(-??)" would have done the job
just as well as "(|-)".

John.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net