Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

域名集合文件的格式以及匹配规则是什么样的(文档无具体说明) #1697

Open
Zephor5 opened this issue Mar 11, 2024 · 4 comments

Comments

@Zephor5
Copy link

Zephor5 commented Mar 11, 2024

https://raw.githubusercontent.com/Loyalsoldier/v2ray-rules-dat/release/direct-list.txt
类似这种 里面的

full:2mdn-cn.net

是否支持

以及每行域名是全文匹配吗,还是后缀

@PikuZheng
Copy link
Contributor

baidu.com
*.qq.com
-.huaweidevice.com
*heytap.com
taobao.com

大概是这样的

@PikuZheng
Copy link
Contributor

以及是后缀匹配,并通过首个特殊字符来区分是完全匹配还是部分匹配。大概是这样 #1659 (comment)

@Zephor5
Copy link
Author

Zephor5 commented Mar 11, 2024

以及是后缀匹配,并通过首个特殊字符来区分是完全匹配还是部分匹配。大概是这样 #1659 (comment)

那就是 baidu.com*.baidu.com 等价是吧

@PikuZheng
Copy link
Contributor

那就是 baidu.com*.baidu.com 等价是吧

baidu.com

等于

*.baidu.com
-.baidu.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants