Merge pull request #3331 from Eisfunke/eisfunke/regex-collection-replace

Enable using capture groups in window-rewrite
This commit is contained in:
Alexis Rouillard
2024-06-12 23:02:52 +02:00
committed by GitHub
4 changed files with 8 additions and 5 deletions

View File

@ -36,7 +36,7 @@ class RegexCollection {
std::map<std::string, std::string> regex_cache;
std::string default_repr;
std::string& find_match(std::string& value, bool& matched_any);
std::string find_match(std::string& value, bool& matched_any);
public:
RegexCollection() = default;
@ -48,4 +48,4 @@ class RegexCollection {
std::string& get(std::string& value);
};
} // namespace waybar::util
} // namespace waybar::util