id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 3941,match_results relies on string evaluated by regex_search(),David Klamet ,John Maddock,"See example: If ""text"" is altered or destroyed, ""matches"" becomes invalid. Is this the desired behavior? ----------------------- string pattern=""^\\s*:(\\S+)\\s*""; string text="" :command ""; boost::regex re(pattern); boost::match_results matches; bool stat=boost::regex_search(text, matches, re); text=""""; //Truncate string cout<