| 17 | constexpr const char* const UriFormat = "{0}://{1}/{2}"; |
| 18 | |
| 19 | inline std::string getVcsPatternMatch(const std::string& uri, std::size_t index) |
| 20 | { |
| 21 | std::smatch results; |
| 22 | return std::regex_match(uri, results, std::regex(UriPattern)) ? results[index].str() : std::string(); |
| 23 | } |
| 24 | |
| 25 | } |
| 26 |
no test coverage detected