
Silvio Reis Junior a écrit :
I tested the expression with Expresso and it's correct although it doesn't work in the code above. Is there something missing?
By default is matches the entire sentence. <http://www.boost.org/doc/libs/1_36_0/libs/regex/doc/html/boost_regex/partial_matches.html> <http://www.boost.org/doc/libs/1_36_0/libs/regex/doc/html/boost_regex/introduction_and_overview.html> « The algorithms regex_search and regex_match make use of match_results to report what matched; the difference between these algorithms is that regex_match will only find matches that consume all of the input text, where as regex_search will search for a match anywhere within the text being matched. » -- Mickaël Wolff aka Lupus Michaelis Racine <http://lupusmic.org> Blog <http://blog.lupusmic.org>