subconverter icon indicating copy to clipboard operation
subconverter copied to clipboard

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

Open Mick-Mi opened this issue 9 months ago • 2 comments

确认版本最新

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

检索issue

  • [X] 我已经确认之前没有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

Mick-Mi avatar May 11 '24 03:05 Mick-Mi