Hello, I am quite new to Boost Xpressive, I am using C++ on Visual Studio 2013 and Boost 1_58_0 I need to clean up some text from all HTML tags I an trying to use this regex: wsregex html_any_tag_regex = wsregex::compile("^([^<]*)?<([A-Za-z][A-Za-z0-9]*)[^>]*>(.+)<\\/(\\2)>(.*)?$"); this regex causes compilation error: error C2664: 'int boost::mpl::assertion_failed(boost::mpl::assert::type)' : cannot convert argument 1 from 'boost::mpl::failed ************boost::is_same<wchar_t,char>::* ***********' to 'boost::mpl::assert::type' I tested my regex here: http://www.myezapp.com/apps/dev/regexp/show.ws and it is parsed exactly to my needs. What am I doing wrong? Thank you Mia

View this message in context: xpressive: regex to catch HTML generic tag with back reference to tag name
Sent from the Boost - Users mailing list archive at Nabble.com.