mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-03-13 06:01:21 +00:00
remove cpp macro from regex
This commit is contained in:
parent
cdf3dbcf04
commit
6193f36a91
@ -51,7 +51,7 @@ impl Page {
|
|||||||
Err(_) => {
|
Err(_) => {
|
||||||
// Try interpret host manually
|
// Try interpret host manually
|
||||||
if Regex::match_simple(
|
if Regex::match_simple(
|
||||||
r"regex(^[^\/\s]+\.[\w]{2,})regex",
|
r"^[^\/\s]+\.[\w]{2,}",
|
||||||
request_text.clone(),
|
request_text.clone(),
|
||||||
RegexCompileFlags::DEFAULT,
|
RegexCompileFlags::DEFAULT,
|
||||||
RegexMatchFlags::DEFAULT,
|
RegexMatchFlags::DEFAULT,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user