Browse Source

remove cpp macro from regex

master
yggverse 2 months ago
parent
commit
6193f36a91
  1. 2
      src/browser/main/tab/page/mod.rs

2
src/browser/main/tab/page/mod.rs

@ -51,7 +51,7 @@ impl Page { @@ -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,

Loading…
Cancel
Save