
Hello John,
Thanks, it generates match correctly after using
[re.assign(sre,boost::regex_constants::perl |
boost::regex_constants::icase);]
I am using BOOST_LIB_VERSION "1_32" which comes with
RHEL 4 (linux ) installation.
Could you help me to know, where I can get the
document stating differences between boost version
1.34 & 1.32 for regex library.
I need to decide whether to shift to 1.34 boost
version is a must for me.
Thanks & Regards,
Chandan
--- John Maddock
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
Chandan Nilange wrote: 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.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users
____________________________________________________________________________________ Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC