30 shared_ptr<RegexBackrefManager> backrefManager)
39 BOOST_THROW_EXCEPTION(
Error(
"Unrecognized format: " +
m_expr));
41 size_t lastIndex =
m_expr.size() - 1;
43 m_matchers.push_back(make_shared<RegexPatternListMatcher>(
m_expr.substr(1, lastIndex - 1),
47 BOOST_THROW_EXCEPTION(
Error(
"Unrecognized format: " +
m_expr));
Copyright (c) 2013-2017 Regents of the University of California.
RegexBackrefMatcher(const std::string &expr, shared_ptr< RegexBackrefManager > backrefManager)
shared_ptr< RegexBackrefManager > m_backrefManager
std::vector< shared_ptr< RegexMatcher > > m_matchers
void compile() override
Compile the regular expression to generate the more matchers when necessary.