Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2006-04-07 05:48:25


> Obviously easier said than done, but if the library can turn the
> appropriate m[index].matched to "true", then perhaps there could be
> another variable in the class to reflect the lowest index of the
> first group that is true. I realize this gets more complicated
> because there can be multiple groups.

It's backtracking that gets you: each time the "lowest sub-expression set"
gets updated you'd need to store a complete history of previous settings so
you can backtrack out again. However, now I think about that some more, I
actually think it might be possible after all :-)

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