Skip to content

Commit

Permalink
fix the UUID match for upper case
Browse files Browse the repository at this point in the history
  • Loading branch information
SetoKaiba committed Oct 12, 2024
1 parent f51dad6 commit 865ab56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser/subparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 865ab56

Please sign in to comment.