Boost logo

Boost Users :

From: Edward Diener (eddielee_at_[hidden])
Date: 2002-11-06 13:39:48


There is an 'icase' flag:

icase = literal << 1, // characters are matched
regardless of case

You can turn it on using:

boost::regex* pRegExp = new boost::wregex(sRegExp,boost::regbase::normal |
boost::regbase::icase);

"f_mayot" <f_mayot_at_[hidden]> wrote in message
news:aqaph8+5chh_at_eGroups.com...
> Hi,
>
> Maybe a stupid question but I didn't manage to make my regular
> expression
> objects case insensitive. What should I do insted of this :
> boost::regex* pRegExp = new boost::wregex(sRegExp);
> ?
>
> Thanks.
>
> Fred
>
>
>
> Info: <http://www.boost.org>
> Wiki: <http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl>
> Unsubscribe: <mailto:boost-users-unsubscribe_at_[hidden]>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>


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