mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-02-10 10:24:13 +00:00
remove cpp macro from regex
This commit is contained in:
parent
cdf3dbcf04
commit
6193f36a91
@ -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…
x
Reference in New Issue
Block a user