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

[BUG] 正则规则转换过程出错 #754

Open
2 tasks done
Mick-Mi opened this issue May 11, 2024 · 2 comments
Open
2 tasks done

[BUG] 正则规则转换过程出错 #754

Mick-Mi opened this issue May 11, 2024 · 2 comments

Comments

@Mick-Mi
Copy link

Mick-Mi commented May 11, 2024

确认版本最新

  • 我已经确认在最新Action编译的版本中复现

检索issue

  • 我已经确认之前没有issue涉及此BUG

subconverter版本

subconverter v0.9.0-6974910 backend

转换过程

clash 配置转换到clash 配置

转换设置

ruleset=🎯 全球直连,https://raw.githubusercontent.com/DustinWin/domain-list-custom/domains/private.list
其中
DOMAIN-REGEX,^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$
规则在转换后
- DOMAIN-REGEX,^[a-z]([a-z0-9-]{0,🎯 全球直连,61}[a-z0-9])?$

复现步骤

添加
ruleset=🎯 全球直连,https://raw.githubusercontent.com/DustinWin/domain-list-custom/domains/private.list
并开始转换

期望结果

应该得到
- DOMAIN-REGEX,^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$,🎯 全球直连

实际结果

- DOMAIN-REGEX,^[a-z]([a-z0-9-]{0,🎯 全球直连,61}[a-z0-9])?$

错误信息

No response

@Wrandz
Copy link

Wrandz commented May 11, 2024

clash有DOMAIN-REGEX这个rule选项吗?

@Mick-Mi
Copy link
Author

Mick-Mi commented May 11, 2024

clash有DOMAIN-REGEX这个rule选项吗?

Clash.meta 内核支持这个格式哈, 可以参考 虚空终端

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