Boost logo

Boost :

Subject: Re: [boost] boost::regex problem with escaped parenthesis
From: John Maddock (john_at_[hidden])
Date: 2008-12-01 11:42:48


Kumar, Anurag wrote:
>> Hello,
>>
>>
>>
>> While trying to match the escaped "(" I am facing problem. Following
>> is
>> the code snippet :

>> My expected result is:
>>
>> b_match should be "true"
>>
>> boostMatch should contain "c(def)g"
>>

Works as expected here for me.

My guess is that since the code you posted didn't actually compile as you
had written it, that something was lost when you factored it down for the
email.

John.


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