id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 1026,regex_token_iterator crashes,anonymous,Eric Niebler,"The following code crashes. #include #include using namespace boost; using namespace xpressive; int main() { std::string str(""This is his face""); sregex rx = sregex::compile(""\\w+""); int subs[] = {-1, 0}; sregex_token_iterator begin(str.begin(), str.end(), rx, subs), end; sregex_token_iterator copy = begin; for( ; begin != end; ++begin) { std::cout << *begin << std::endl; } } ",Bugs,closed,Boost 1.34.1,xpressive,Boost 1.34.0,Showstopper,fixed,xpressive,