diff --git a/src/browser/main/tab/page/mod.rs b/src/browser/main/tab/page/mod.rs index 171bc7f9..ba0d4a8f 100644 --- a/src/browser/main/tab/page/mod.rs +++ b/src/browser/main/tab/page/mod.rs @@ -51,7 +51,7 @@ impl Page { Err(_) => { // Try interpret host manually if Regex::match_simple( - r"regex(^[^\/\s]+\.[\w]{2,})regex", + r"^[^\/\s]+\.[\w]{2,}", request_text.clone(), RegexCompileFlags::DEFAULT, RegexMatchFlags::DEFAULT,