Class RegexCache

Class Documentation

class RegexCache

Holds a reference to a cached regex. Recompiles only if the expression changed.

Public Functions

inline const std::regex &get_regex(const std::string &regExpression)