Boost logo

Boost Users :

From: Detlef Meyer-Eltz (Meyer-Eltz_at_[hidden])
Date: 2005-08-11 10:17:22


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_at_[hidden]
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_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users

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