Replies: 7 comments
-
工作流已支持 |
Beta Was this translation helpful? Give feedback.
-
谢谢,看到[alias.txt]说明了,请教一下,支持别名前面的*,别名中间的*,吗,能过滤掉表情符号吗。 |
Beta Was this translation helpful? Give feedback.
-
我试了,好用,我尝试在 alias.txt 中使用 |
Beta Was this translation helpful? Give feedback.
-
我建了一个接口文件,内容 既然有正则功能,我可以只取需要部分,我在alias.txt文件中设置 demo.txt文件内容 结果,运行日志 speed_test.log 结论,匹配不到 CCTV- 01 CCTV-01 |
Beta Was this translation helpful? Give feedback.
-
现在的alias 是否只支持 * 作为通配符,而不是支持完整的正则表达式输入? |
Beta Was this translation helpful? Give feedback.
-
现在的alias 是否只支持 * 作为通配符,而不是支持完整的正则表达式输入? |
Beta Was this translation helpful? Give feedback.
-
在gpt协助下,简单调整了一下alias.py代码,请大佬看看是否可行,正则表达式前面必须加re: `# 导入操作系统相关模块,用于文件路径和文件存在性检查 导入正则表达式模块,用于处理别名匹配import re 导入项目中的常量定义import utils.constants as constants 从工具模块中导入路径处理和名称格式化函数from utils.tools import get_real_path, resource_path, format_name 定义一个别名处理类 Aliasclass Alias: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
接口的别名太多,能不能用一种格式,进行正则匹配,例如:CCTV1*,CCTV-1*,*CCTV1,*CCTV-1。
Beta Was this translation helpful? Give feedback.
All reactions