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

Method MatchOpSeq

lib/yamlcpp/src/regeximpl.h:169–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167// SeqOperator
168template <typename Source>
169inline int RegEx::MatchOpSeq(const Source& source) const {
170 int offset = 0;
171 for (const RegEx& param : m_params) {
172 int n = param.Match(source + offset); // note Match, not
173 // MatchUnchecked because we
174 // need to check validity after
175 // the offset
176 if (n == -1)
177 return -1;
178 offset += n;
179 }
180
181 return offset;
182}
183} // namespace YAML
184
185#endif // REGEXIMPL_H_62B23520_7C8E_11DE_8A39_0800200C9A66

Callers

nothing calls this directly

Calls 1

MatchMethod · 0.45

Tested by

no test coverage detected