|
Re: Re: solaris gcc 3.2 stlport regexp (bug?): msg#00275lib.boost.user
> Does the regexp work on other compilers? Yes, I've tried with C++ Builder 6.1 with codeguard support enabled (Borland's memory checking utility), and everything passes OK with the following test program, can you verify that the program reproduces your problem, and if not provide one that does. Many thanks, John Maddock http://ourworld.compuserve.com/homepages/john_maddock/index.htm test code: #include <iostream> #include "boost/regex.hpp" int main(int, char**) { boost::regex abc("(\\w+)=(\\{|\"([^\\t\\n\\r\\f\"].*)\"|([^\\t\\n\\r\\f]+))|\\}|\\{"); std::string s("field_name=\"field value \" "); boost::smatch what; boost::regex_search(s, what, abc); std::cout << (std::string)what[0] << std::endl; s = "sub_message_name={"; boost::regex_search(s, what, abc); std::cout << (std::string)what[0] << std::endl; return 0; } Info: <http://www.boost.org> Wiki: <http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl> Unsubscribe: <mailto:boost-users-unsubscribe@xxxxxxxxxxxxxxx> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Building problems with regex on a SuSE 8.1 installation: 00275, John Maddock |
|---|---|
| Next by Date: | Re: solaris gcc 3.2 stlport regexp (bug?): 00275, c_twiner |
| Previous by Thread: | Re: solaris gcc 3.2 stlport regexp (bug?)i: 00275, c_twiner |
| Next by Thread: | Re: solaris gcc 3.2 stlport regexp (bug?): 00275, c_twiner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |