| 229 | } |
| 230 | |
| 231 | std::vector<std::string_view> FindObjectNames(char const* regex) |
| 232 | { |
| 233 | std::vector<std::string_view> matches; |
| 234 | if (auto rx = regex_from_char(regex)) |
| 235 | { |
| 236 | for (auto& it : m_Dictionary) |
| 237 | if (std::regex_match(it.first, *rx)) |
| 238 | matches.push_back(std::string_view(it.first)); |
| 239 | } |
| 240 | return matches; |
| 241 | } |
| 242 | |
| 243 | std::vector<Object*> FindObjects(char const* regex) |
| 244 | { |
no test coverage detected