### Version v0.1.5 ### Severity Minor (annoyance) ### Problem Description ```cpp // Each match() recompiles the regex if (route.match(target, params)) { // std::regex(pattern) every time? ``` **Solution:** ```cpp class Route { std::regex pattern_; // Compiled once }; ``` ### Verification - [x] I have searched for existing issues - [x] I am using the latest version - [x] I have provided a minimal reproduction
Version
v0.1.5
Severity
Minor (annoyance)
Problem Description
Solution:
Verification