SNode.C
Loading...
Searching...
No Matches
regex_utils.cpp File Reference
Include dependency graph for regex_utils.cpp:

Go to the source code of this file.

Namespaces

namespace  express
 
namespace  express::dispatcher
 

Macros

#define PATH_REGEX   ":[a-zA-Z0-9]+(\\‍(.+\\‍))?"
 

Functions

std::string express::dispatcher::path_concat (const std::vector< std::string > &stringvec)
 
std::vector< std::string > express::dispatcher::explode (const std::string &s, char delim)
 
const std::regex & express::dispatcher::pathRegex ()
 
std::smatch express::dispatcher::matchResult (const std::string &cpath)
 
bool express::dispatcher::hasResult (const std::string &cpath)
 
bool express::dispatcher::matchFunction (const std::string &cpath, const std::string &reqpath)
 
void express::dispatcher::setParams (const std::string &cpath, express::Request &req)
 
std::string express::dispatcher::path_concat (const std::string &first, const std::string &second)
 
bool express::dispatcher::checkForUrlMatch (const std::string &cpath, const std::string &reqpath)
 

Macro Definition Documentation

◆ PATH_REGEX

#define PATH_REGEX   ":[a-zA-Z0-9]+(\\‍(.+\\‍))?"

Definition at line 57 of file regex_utils.cpp.