Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2005-08-11 10:35:49


> I need to make an case insensitive match using regex_match()
> algorithm. How do I specify that?

You do it when you construct the regex, so for example:

boost::regex re("abc", boost::regex::perl | boost::regex::icase); // a case
insensitive Perl style expression.

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