mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-10 09:43:51 +00:00
Fixed regex problem with Apple LLVM version 8.0.0
This commit is contained in:
parent
4f9d04cb8e
commit
94d13e88a5
@ -1838,7 +1838,7 @@ inline bool parse_multipart_formdata(const std::string &boundary,
|
|||||||
static std::string dash = "--";
|
static std::string dash = "--";
|
||||||
static std::string crlf = "\r\n";
|
static std::string crlf = "\r\n";
|
||||||
|
|
||||||
static std::regex re_content_type("Content-Type: (.*?)",
|
static std::regex re_content_type("Content-Type: (.*?)$",
|
||||||
std::regex_constants::icase);
|
std::regex_constants::icase);
|
||||||
|
|
||||||
static std::regex re_content_disposition(
|
static std::regex re_content_disposition(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user