|
Upa URL C++ library
A WHATWG URL Standard implementation
|
Regex engine class based on std::regex. More...
#include <upa/regex_engine_std.h>
Classes | |
| class | result |
Public Member Functions | |
| bool | init (std::string_view regex_str, bool ignore_case) |
| bool | exec (std::string_view input, result &res) const |
| bool | test (std::string_view input) const |
Regex engine class based on std::regex.
This class implements the regex engine interface required by upa::urlpattern using std::regex. It can be used as template argument for upa::urlpattern.
However, it can only be used for simple use cases, as some URL Pattern Web Platform tests are not passed by upa::urlpattern when it is used. We recommend using upa::regex_engine_srell instead.
Definition at line 24 of file regex_engine_std.h.
|
inline |
Definition at line 58 of file regex_engine_std.h.
|
inline |
Definition at line 42 of file regex_engine_std.h.
|
inline |
Definition at line 61 of file regex_engine_std.h.