Boost logo

Boost Users :

From: John Maddock (john_maddock_at_[hidden])
Date: 2002-08-24 05:21:03


> My problem is really simple : I have several regular expressions (like
> (19[4-9]\d)|(200\d)|( [09]\d ) ) which work when they correspond to the
> entire string, e.g. : "2002" OK; "something 2002 something" NOT OK.
>
> Everythings worked fine with the GRETA library, and now, it doesn't.
>
> Does anyone have an idea ?

My suspicion is that you are using regex_match when you meant to use
regex_search.

John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/index.htm


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