|
Performs std::regex_match on request path and stores the result in Request::matches. More...
#include <RobotAPI/libraries/armem/server/ltm/detail/mixins/util/httplib.h>
Public Member Functions | |
bool | match (Request &request) const override |
RegexMatcher (const std::string &pattern) | |
![]() | |
virtual | ~MatcherBase ()=default |
Performs std::regex_match on request path and stores the result in Request::matches.
Note that regex match is performed directly on the whole request. This means that wildcard patterns may match multiple path segments with /: "/begin/(.*)/end" will match both "/begin/middle/end" and "/begin/1/2/end".
|
inline |
|
inlineoverridevirtual |
Implements MatcherBase.