From 865ab56999b687ff31d5b94e57cb4783da80978c Mon Sep 17 00:00:00 2001 From: Seto <61304189@qq.com> Date: Sat, 12 Oct 2024 19:59:42 +0800 Subject: [PATCH] fix the UUID match for upper case --- src/parser/subparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser/subparser.cpp b/src/parser/subparser.cpp index ba5a1ee54..6f5636bda 100644 --- a/src/parser/subparser.cpp +++ b/src/parser/subparser.cpp @@ -1511,7 +1511,7 @@ void explodeStdVless(std::string vless, Proxy &node) remarks = urlDecode(vless.substr(pos + 1)); vless.erase(pos); } - const std::string stdvless_matcher = R"(^([\da-f]{4}(?:[\da-f]{4}-){4}[\da-f]{12})@\[?([\d\-a-zA-Z:.]+)\]?:(\d+)(?:\/?\?(.*))?$)"; + const std::string stdvless_matcher = R"(^([\da-fA-F]{4}(?:[\da-fA-F]{4}-){4}[\da-fA-F]{12})@\[?([\d\-a-zA-Z:.]+)\]?:(\d+)(?:\/?\?(.*))?$)"; if(regGetMatch(vless, stdvless_matcher, 5, 0, &id, &add, &port, &addition)) return;