MCPcopy Create free account
hub / github.com/ByConity/ByConity / checkExpression

Function checkExpression

src/Server/HTTPHandlerRequestFilter.h:35–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35static inline bool checkExpression(const StringRef & match_str, const std::pair<String, CompiledRegexPtr> & expression)
36{
37 if (expression.second)
38 return checkRegexExpression(match_str, expression.second);
39
40 return match_str == expression.first;
41}
42
43static inline auto methodsFilter(Poco::Util::AbstractConfiguration & config, const std::string & config_path)
44{

Callers 2

urlFilterFunction · 0.85
headersFilterFunction · 0.85

Calls 1

checkRegexExpressionFunction · 0.85

Tested by

no test coverage detected