Boost logo

Boost :

Subject: Re: [boost] [xpressive] Support for multi-capture andbalancinggroups
From: Erik Rydgren (erik_at_[hidden])
Date: 2010-10-03 09:46:20

> 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 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.

That is a kind offer but unfortunately I don't have the luxury of static
expressions. The regex patterns is stored in a database and other sources
and we use them for a wide range of tasks. But I surly will take a look at
Spirit anyway, just so I might have another tool in my belt ready when


Boost list run by bdawes at, gregod at, cpdaniel at, john at