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.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at