We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f47ecf commit e7f9b72Copy full SHA for e7f9b72
1 file changed
src/details/http_endpoint.cpp
@@ -115,7 +115,7 @@ http_endpoint::http_endpoint
115
if(use_regex)
116
{
117
url_normalized += "$";
118
- re_url_normalized = std::regex(url_normalized, std::regex::extended | syntax_option_type icase | syntax_option_type nosubs);
+ re_url_normalized = std::regex(url_normalized, std::regex::extended | std::regex::icase | std::regex::nosubs);
119
reg_compiled = true;
120
}
121
@@ -128,7 +128,7 @@ http_endpoint::http_endpoint(const http_endpoint& h):
128
chunk_positions(h.chunk_positions),
129
family_url(h.family_url),
130
reg_compiled(h.reg_compiled),
131
- re_url_normalized(h.re_url_normalize)
+ re_url_normalized(h.re_url_normalized)
132
133
134
0 commit comments