| 1123 | } |
| 1124 | |
| 1125 | static inline bool capturingNamedQueryParam(NameSet receive_params, const CompiledRegexPtr & compiled_regex) |
| 1126 | { |
| 1127 | const auto & capturing_names = compiled_regex->NamedCapturingGroups(); |
| 1128 | return std::count_if(capturing_names.begin(), capturing_names.end(), [&](const auto & iterator) |
| 1129 | { |
| 1130 | return std::count_if(receive_params.begin(), receive_params.end(), |
| 1131 | [&](const auto & param_name) { return param_name == iterator.first; }); |
| 1132 | }); |
| 1133 | } |
| 1134 | |
| 1135 | static inline CompiledRegexPtr getCompiledRegex(const std::string & expression) |
| 1136 | { |
no test coverage detected