xpressive: regex to catch HTML generic tag with back reference to tag name

Hello,I am quite new to Boost Xpressive, I am using C++ on Visual Studio 2013
and Boost 1_58_0I need to clean up some text from all HTML tagsI 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
participants (1)
-
Mia