Boost logo

Boost Users :

From: Mickael Wolff (mickael_at_[hidden])
Date: 2008-09-03 09:50:25


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>

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net