mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
remove cpp macro from regex
This commit is contained in:
parent
cdf3dbcf04
commit
6193f36a91
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue