Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2006-10-06 04:42:29


boost_at_[hidden] wrote:
> Hi, I don't get why I'm getting diferent results with this regexp in
> perl and in boost::regex, is there something I'm doing wrong?

It looks like you are trying to match a subset of the string: for that you
need to use regex_search. regex_match will only succeed if it matches *all*
of the text.

John.


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