mirror of
https://github.com/any86/any-rule.git
synced 2025-07-14 15:38:58 +08:00
fix: Linux 文件和文件夹命名应该允许除/外的任意字符(#57)
This commit is contained in:
parent
9930552233
commit
802017bb0f
@ -50,8 +50,8 @@ module.exports = [{
|
||||
},
|
||||
{
|
||||
title: 'linux"文件夹"路径',
|
||||
rule: /^\/(\w+\/?)+$/,
|
||||
examples: ['/usr/ad/dd', '/root/']
|
||||
rule: /^(\/[^\/]+)+\/?$/,
|
||||
examples: ['/usr/ad/dd', '/root/','/.gitignore']
|
||||
},
|
||||
{
|
||||
title: 'linux"文件"路径',
|
||||
|
Loading…
x
Reference in New Issue
Block a user