Boost logo

Boost :

Subject: Re: [boost] [xpressive] Support for multi-capture and balancinggroups
From: OvermindDL1 (overminddl1_at_[hidden])
Date: 2010-10-03 05:58:47


On Sun, Oct 3, 2010 at 3:16 AM, Erik Rydgren <erik_at_[hidden]> wrote:
>> On 10/2/2010 5:52 PM, Erik Rydgren wrote:
>>>
>>> Hi!
>>>
>>> My company have been using pcre for a long while but there has been
>>> gripes about it only returning the last matched value from a capture
>>> group. Because of this I have been searching for a C++ regex engine
>
> [SNIP]
>>
>> This sounds really great and I have every intention of taking this
>> change once I grok it and look over the code. Can you open a feature
>> request ticket at http://svn.boost.org so I don't forget, because I'm a
>> little busy at the moment.
>>
> Ticket #4704: Support for multicapture and balancing groups

For note, depending on what exactly you need to parse, but if you can
statically define the parse then Boost.Spirit can do all you want and
a whole lot more with a lot more simple code and it will execute a lot
faster. If you have an example of what you want done, I (or others)
can give an example Spirit code to do the same if you want a
comparison.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk