mirror of
https://github.com/any86/any-rule.git
synced 2025-07-14 15:38:58 +08:00
fix: 让"URL正则"符合lint要求
This commit is contained in:
parent
f45dee7b70
commit
ce6bb367da
@ -1,7 +1,7 @@
|
|||||||
module.exports = [
|
module.exports = [
|
||||||
{
|
{
|
||||||
title: 'URL正则',
|
title: 'URL正则',
|
||||||
rule: /^((https?|ftp|file):\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})(\/\w\.-]*)*\/?$/,
|
rule: /^((https?|ftp|file):\/\/)?([\da-z.-]+)\.([a-z.]{2,6})(\/\w\.-]*)*\/?$/,
|
||||||
example: '如: www.qq.com 、file:///C:/Users/KD/index.js'
|
example: '如: www.qq.com 、file:///C:/Users/KD/index.js'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user