AbstractStateProvider: use less restrictive boost::regex_search()