26 Feb
2010
26 Feb
'10
5:06 a.m.
AMDG pirate-king wrote:
Hello everyone,
When I use boost_1_41_0 of regx in vs2005, I met this runtime error:
boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::regex_error> >
I search a lot, but there is not valid method to solve it. Can you do me a favor to give me the way to solve it.
Thanks a lot
my code is
#include <boost/regex.hpp> #include <iostream> boost::regex e("(\\d{3, 4})[- ]?(\\d{4)})[- ]?(\\d{4})[- ]?(\\d{4})");
The error is in this global regex. Missing } in quantified repetition. The error occured while parsing the regular expression fragment: '[- ]?(\d{4>>>HERE>>>)})[- ]?(\'. In Christ, Steven Watanabe