Regex: option for case insensitive match
Hello, I need to make an case insensitive match using regex_match() algorithm. How do I specify that? Thanks in advance. Regards Kiran
set icase for the syntax options of your regex: boost::regex_constants::syntax_option_type f = boost::regex_constants::normal; f |= boost::regex_constants::icase; boost::regex expr("123", f); -- mailto:Meyer-Eltz@t-online.de url: http://www.texttransformer.de url: http://www.texttransformer.com -- am Donnerstag, 11. August 2005 um 12:29 schrieben Sie:
Hello,
I need to make an case insensitive match using regex_match() algorithm. How do I specify that?
Thanks in advance.
Regards Kiran
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (3)
-
Detlef Meyer-Eltz
-
John Maddock
-
Kiran Reddy