From 489e1fba99d159e078c74adfa2a7c6b1ee39b24e Mon Sep 17 00:00:00 2001 From: tastytea Date: Thu, 19 Dec 2019 21:49:53 +0100 Subject: [PATCH] Fix regex for extracting charset. --- src/lib/uri.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/uri.cpp b/src/lib/uri.cpp index 4b9b14c..b8d5c46 100644 --- a/src/lib/uri.cpp +++ b/src/lib/uri.cpp @@ -704,7 +704,7 @@ string URI::to_utf8(const string &str) void URI::detect_encoding() { - const RegEx re_encoding(R"( matches; re_encoding.split(_document, matches); if (matches.size() >= 2)