Re: [Cppcms-users] cppcms unclear issues and philosophy
Brought to you by:
artyom-beilis
From: Artyom B. <art...@ya...> - 2012-06-23 16:38:44
|
>> GCC 4.6.3 has it (4.7.x respectively as well) >> http://gcc.gnu.org/onlinedocs/gcc-4.6.3/libstdc++/api/a01192.html >> >> Did not lookup if earlier versions of gcc have the regex support as well. >> > >Ok... gcc-4.5 had not supported it (it was the last time I checked) >also it seems that gcc-4.6 does supports it. Older version allowed me to compile >the code but the "match result" was always false. > After a little check gcc-4.7 does not support regular expressions yet... a simple regex r("foo"); char const *b="xfooz"; char const *e=b+strlen(b); std::cout << regex_search(b,e,r) << std::endl; Prints 0 (of course with boost::regex it prints expected result 1) So it is too early to remove PCRE Artyom |