| 485 | } |
| 486 | |
| 487 | std::string regex_escape(const std::string & s) { |
| 488 | static const std::regex special_chars("[.^$|()*+?\\[\\]{}\\\\]"); |
| 489 | return std::regex_replace(s, special_chars, "\\$&"); |
| 490 | } |
| 491 | |
| 492 | std::string string_join(const std::vector<std::string> & values, const std::string & separator) { |
| 493 | std::ostringstream result; |
no outgoing calls
no test coverage detected