boost::log::expressions::matches
// In header: <boost/log/expressions/predicates/matches.hpp> template<typename T, typename FallbackPolicyT, typename TagT, template< typename > class ActorT, typename RegexT> unspecified matches(attribute_actor< T, FallbackPolicyT, TagT, ActorT > const & attr, RegexT const & rex);