Boost logo

Boost Users :

Subject: Re: [Boost-users] REGEX Don't understand the matching behavior: regex_search vs. regex_match
From: Andy Falanga (afalanga) (afalanga_at_[hidden])
Date: 2012-02-23 10:04:06


Thank you, norulez, that worked.

Andy

From: boost-users-bounces_at_[hidden] [mailto:boost-users-bounces_at_[hidden]] On Behalf Of norulez_at_[hidden]
Sent: Wednesday, February 22, 2012 10:01 AM
To: boost-users_at_[hidden]
Cc: boost-users_at_[hidden]
Subject: Re: [Boost-users] REGEX Don't understand the matching behavior: regex_search vs. regex_match

Try it with the following:

boost::regex expression("Channel ([[:digit:]]{1,3}).*");

Note the .* here

Best Regards

Am 22.02.2012 um 17:37 schrieb "Andy Falanga (afalanga)" <afalanga_at_[hidden]<mailto:afalanga_at_[hidden]>>:
boost::regex expression(“Channel ([[:digit:]]{1,3}));



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