remove cpp macro from regex

This commit is contained in:
yggverse 2024-09-25 02:38:11 +03:00
parent cdf3dbcf04
commit 6193f36a91

View File

@ -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,