diff --git a/src/config/url.zig b/src/config/url.zig index ad98860a5..d7c1ab2a2 100644 --- a/src/config/url.zig +++ b/src/config/url.zig @@ -22,8 +22,13 @@ 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*\\))?)+(?