C++ regex clean and short code
cpp\nconst unordered_map<string, string> m = { {"&quot;", "\\""}, {"&apos;", "\\\'"}, {"&amp;", "&"}, {"&gt;", ">"}, {"&lt;", "<"}, {"&frasl;", "/"}};\n\nclass 
```cpp\nconst unordered_map<string, string> m = { {"&quot;", "\\""}, {"&apos;", "\\\'"}, {"&amp;", "&"}, {"&gt;", ">"}, {"&lt;", "<"}, {"&frasl;", "/"}};\n\nclass Solution {\npublic:\n    string entityParser(string text) {\n        for (auto&& [key, val]: m) {\n            regex e(key);\n            text = regex_replace(text, e, val);\n        }\n        return text;\n    }\n};\n```
['C', 'C++']