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

Function recordRegexCheck

src/records/RecUtils.cc:383–396  ·  view source on GitHub ↗

anonymous namespace

Source from the content-addressed store, hash-verified

381namespace
382{ // anonymous namespace
383bool
384recordRegexCheck(const char *pattern, const char *value)
385{
386 Regex regex;
387
388 bool rval = regex.compile(pattern);
389 if (rval == false) {
390 return false;
391 } else {
392 return regex.exec(value);
393 }
394
395 return false; // no-op
396}
397
398bool
399recordRangeCheck(const char *pattern, const char *value)

Callers 3

recordRangeCheckFunction · 0.85
recordIPCheckFunction · 0.85
RecordValidityCheckFunction · 0.85

Calls 2

compileMethod · 0.45
execMethod · 0.45

Tested by

no test coverage detected