alist
alist copied to clipboard
正则表达式中的 `^` 不工作
Please make sure of the following things
- [X] I have read the documentation.
- [X] I'm sure there are no duplicate issues or discussions.
- [X] I'm sure it's due to
alistand not something else(such asDependenciesorOperational). - [X] I'm sure I'm using the latest version
Alist Version / Alist 版本
3.2.1
Driver used / 使用的存储驱动
任意
Describe the bug / 问题描述
正则表达式中的 ^ 无法工作,即匹配文件名的开头
Reproduction / 复现链接
在全局设置的隐藏文件中添加 /^\./ 来隐藏 . 开头的文件,不工作
若使用 /\..*,则所有带 . 的文件全都会隐藏
Logs / 日志
无
Thanks for opening your first issue here! Be sure to follow the issue template!
全局设置的隐藏文件中的正则表达式test的是文件的全部路径,要隐藏所有.开头的文件:
/\/\./i
哦这样啊,谢谢
Hello @Clansty, your issue is invalid and will be closed. 你好 @Clansty,你的issue无效,将被关闭。
全局设置的隐藏文件中的正则表达式test的是文件的全部路径,要隐藏所有.开头的文件:
/\/\./i
这样写有没有问题 ^\.