Hi, all!
I am a bit of a newbie, so forgive if this has already been covered.
The 1.34 regex package (or at least my build of it on FC6) appears to be
broken. Please consider the following:
#include <iostream>
#include <iomanip>
#include
int
main(int argc, char *argv[]) {
boost::regex rl("ab");
boost::regex ru("AB");
bool pass = regex_search("ab", rl);
std::cout << std::boolalpha << pass << std::endl;
pass = regex_search("AB", ru);
std::cout << std::boolalpha << pass << std::endl;
return EXIT_SUCCESS;
}
When built with 1.33 (as delivered with FC6), both tests return true.
When built under 1.34 (downloaded and built), the uppercase test returns
false. Yuck.
Am I missing something? (probably...)
--
Jeffery Cavallaro
POSTINI
Engineering Group
650-486-8342
-----------------------------------------------------------
This message may contain confidential and/or privileged
information. This information is intended to be read only
by the individual or entity to whom it is addressed. If
you are not the intended recipient, you are on notice that
any review, disclosure, copying, distribution or use of
the contents of this message is strictly prohibited. If
you have received this message in error, please notify the
sender immediately and delete or destroy any copy of this
message.