id summary reporter owner description type status milestone component version severity resolution keywords cc 10286 Fail regex matching when dynamic linking boost_regex on FreeBSD 8 (9). Pavel Karelin John Maddock "Simple example: {{{ #include #include main(int, char *[]) { std::string filter_rules = ""cause 16""; std::string::const_iterator start = filter_rules.begin(); std::string::const_iterator end = filter_rules.end(); std::string rule_pattern = ""([a-z_]+).*""; boost::regex rule_re(rule_pattern, boost::regex::extended); boost::smatch what; regex_search(filter_rules, what, rule_re); std::string call_param = what[1]; std::string rule_operator = what[2]; std::string value = what[3]; printf(""\n0: %s"", call_param.c_str()); printf(""\n1: %s"", rule_operator.c_str()); printf(""\n2: %s\n"", value.c_str()); } }}} Static linking:[[BR]] g++ test.cpp -o test -I/opt/boost/1.55.0/include /opt/boost/1.55.0/lib/libboost_regex.a Results:[[BR]] 0: cause /* It's correct */[[BR]] 1: [[BR]] 2: Dynamic linking:[[BR]] g++ test.cpp -o test -I/opt/boost/1.55.0/include -L/opt/boost/1.55.0/lib -lboost_regex -Wl,-rpath,/opt/boost/1.55.0/lib Results: [[BR]] 0: /* FAIL! */[[BR]] 1: [[BR]] 2: It is manifested on FreeBSD 8 (9), architecture amd64. Boost was builds with next parameters:[[BR]] ./bootstrap.sh \ [[BR]] --without-icu \ [[BR]] --without-libraries=coroutine,graph,graph_parallel,locale,log,math,mpi,random,test,wave \ [[BR]] --with-python=${py_dir}/bin/python ./b2 --disable-icu " Bugs closed To Be Determined regex Boost 1.55.0 Problem obsolete