|
Boost Users : |
Subject: Re: [Boost-users] [Regex] Which sub-expression did participate in apartial match?
From: John Maddock (john_at_[hidden])
Date: 2009-09-18 11:58:25
> In the first case I would expect the output of the sub-expression and
> the position of the match. Are you aware of any method to achieve this
> behavior?
You do get marked sub-expression positions in partial matches, *but only if
the sub-expression was completely matched*. Obviously that is not the case
here I'm afraid.
John.
ps, (*it).position() in your code should be (*it).position(i).
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