From a3e2d9d25013c34a1ca5a1e7b273bc93d27e980f Mon Sep 17 00:00:00 2001 From: Erlend Lind Madsen Date: Fri, 2 Feb 2024 02:59:55 +0100 Subject: [PATCH] url: sort url schemes by most-used --- src/config/url.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/url.zig b/src/config/url.zig index e28ead1d8..8f32e8f16 100644 --- a/src/config/url.zig +++ b/src/config/url.zig @@ -23,7 +23,7 @@ const oni = @import("oniguruma"); /// There are many complicated cases where these heuristics break down, but /// handling them well requires a non-regex approach. pub const regex = "(?:" ++ url_scheme ++ ")(?:[\\w./+:@%?=&-]+(?:\\(\\w*\\))?)+(?