
4 Jul
2007
4 Jul
'07
5:30 p.m.
Chandan Nilange wrote:
Thank you John for your prompt reply. I tried the same example by replacing [:xdigit:] with [[:xdigit:]] in the expression However, I still do not get the desired match.
Works for me with 1.34, I see: Found Pattern:start:1PAGE1ERROR1:end: Pattern starts at :31 Pattern ends at: 42 Pattern length:12 as output. For some older Boost versions though you may need to use: re.assign(sre, boost::regex_constants::perl | boost::regex_constants::icase); Otherwise the expression is interpreted as a POSIX-Basic regex which isn't what you want. John.