|
Upa URL C++ library
A WHATWG URL Standard implementation
|
Regex engine class based on SRELL library. More...
#include <upa/regex_engine_srell.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 SRELL library.
This class implements the regex engine interface required by upa::urlpattern using the SRELL library from https://www.akenotsuki.com/misc/srell/en/. It can be used as template argument for upa::urlpattern. For example:
We recommend using this class because SRELL complies with the latest ECMAScript standard, so upa::urlpattern passes all URL Pattern Web Platform tests when using it. The SRELL version 4.066 or later is required.
Definition at line 31 of file regex_engine_srell.h.
|
inline |
Definition at line 60 of file regex_engine_srell.h.
|
inline |
Definition at line 49 of file regex_engine_srell.h.
|
inline |
Definition at line 63 of file regex_engine_srell.h.