MCPcopy Create free account
hub / github.com/apache/trafficserver / MatchOpOr

Method MatchOpOr

lib/yamlcpp/src/regeximpl.h:131–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129// OrOperator
130template <typename Source>
131inline int RegEx::MatchOpOr(const Source& source) const {
132 for (const RegEx& param : m_params) {
133 int n = param.MatchUnchecked(source);
134 if (n >= 0)
135 return n;
136 }
137 return -1;
138}
139
140// AndOperator
141// Note: 'AND' is a little funny, since we may be required to match things

Callers

nothing calls this directly

Calls 1

MatchUncheckedMethod · 0.80

Tested by

no test coverage detected