|
auto | restinio::path2regex::impl::escape_group (const std::string &group) |
| Escapes not allowed symbols in a sub-match group assigned to a parameter.
|
|
auto | restinio::path2regex::impl::escape_string (const std::string &group) |
| Excape regex control chars.
|
|
template<typename Route_Param_Appender > |
param_appender_t< Route_Param_Appender > | restinio::path2regex::make_param_setter (string_view_t key) |
| Create default appender for named parameter.
|
|
template<typename Route_Param_Appender > |
param_appender_t< Route_Param_Appender > | restinio::path2regex::make_param_setter (std::size_t) |
| Create default appender indexed parameter.
|
|
template<typename Route_Param_Appender > |
token_unique_ptr_t< Route_Param_Appender > | restinio::path2regex::impl::create_token (std::string path) |
|
template<typename Route_Param_Appender , typename Name > |
token_unique_ptr_t< Route_Param_Appender > | restinio::path2regex::impl::create_token (Name name, std::string prefix, std::string delimiter, bool optional, bool repeat, bool partial, std::string pattern) |
| Creates tokent for specific parameter.
|
|
std::string | restinio::path2regex::impl::check_no_unescaped_brackets (string_view_t strv, std::size_t base_pos) |
| Checks that string doesn't contain non-excaped brackets.
|
|
template<typename Route_Param_Appender , typename MATCH > |
void | restinio::path2regex::impl::handle_param_token (const options_t &options, const MATCH &match, std::string &path, bool &path_escaped, token_list_t< Route_Param_Appender > &result) |
| Handling of a parameterized token.
|
|
template<typename Route_Param_Appender > |
token_list_t< Route_Param_Appender > | restinio::path2regex::impl::parse (string_view_t route_sv, const options_t &options) |
| Parse a string for the raw tokens.
|
|
template<typename Route_Param_Appender , typename Regex_Engine > |
auto | restinio::path2regex::impl::tokens2regexp (string_view_t path, const token_list_t< Route_Param_Appender > &tokens, const options_t &options) |
| Makes route regex matcher out of path tokens.
|
|
template<typename Route_Param_Appender , typename Regex_Engine > |
auto | restinio::path2regex::path2regex (string_view_t path, const options_t &options) |
| The main path matching regexp.
|
|