Boost logo

Boost Users :

Subject: Re: [Boost-users] Nested regex results with xpressive.
From: Surya Kiran Gullapalli (suryakiran.gullapalli_at_[hidden])
Date: 2010-03-12 06:44:09


>
> Nothing. The three nested results correspond to the three regexes nested in
> combinedReg: numReg, holidayName, and holidayDateDetails. None of those
> regexes has other regexes nested within them.
>
> Okay...

> Are you confusing nested regexes with marked sub-expressions? Perhaps if
> you change your innermost nested FOREACH statement with something like this:
>
> BOOST_FOREACH (const ssub_match& ssub, res)
> cout << '\t' << ssub << endl;
>
> ... you'll get something like what you were expecting.
>
Got it.. thanks for the explanation.

Surya



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