On 09/04/2009 05:44 PM, Tommaso Cucinotta wrote:
rgheck ha scritto:
is there anyone on this list knowing if there exists any open C/C++ library for regular expressions, with the capability to match balanced braces arbitrarily nested ?
Famously, there are extensions in Perl regexes that allow this. I think the PCRE library would therefore allow it.

Exactly what I was needing, thanks. I also found out that boost/xpressive has a support for that, just checking if it works.

Anyone can comment about the speed of regexp matching when using boost as compared to when using C APIs ?

No, but the big advantage to boost, obviously, is that we already depend upon it. I don't even know how well PCRE works cross-platform. Obviously, we'd have to add it to our own tree....

rh

Reply via email to