mirror of
https://github.com/any86/any-rule.git
synced 2025-07-14 15:38:58 +08:00
commit
4e164a4774
@ -1,4 +1,4 @@
|
||||
# 正则大全  [](https://marketplace.visualstudio.com/items?itemName=russell.any-rule) [](https://marketplace.visualstudio.com/items?itemName=russell.any-rule) [](https://marketplace.visualstudio.com/items?itemName=russell.any-rule)  [](https://circleci.com/gh/any86/any-rule)
|
||||
# 正则大全  [](https://marketplace.visualstudio.com/items?itemName=russell.any-rule) [](https://marketplace.visualstudio.com/items?itemName=russell.any-rule) [](https://marketplace.visualstudio.com/items?itemName=russell.any-rule)  [](https://circleci.com/gh/any86/any-rule)
|
||||
|
||||
支持**web** / **vscode插件**2种查询方式.
|
||||
|
||||
@ -383,3 +383,8 @@ vscode应用商店中搜索"**any-rule**".
|
||||
```javascript
|
||||
/^([a-zA-Z_][a-zA-Z0-9_]*)+([.][a-zA-Z_][a-zA-Z0-9_]*)+$/
|
||||
```
|
||||
|
||||
### mac地址
|
||||
```javascript
|
||||
/^((([a-f0-9]{2}:){5})|(([a-f0-9]{2}-){5}))[a-f0-9]{2}$/i
|
||||
```
|
||||
|
6094
package-lock.json
generated
Normal file
6094
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -314,5 +314,10 @@ module.exports = [{
|
||||
title: 'java包名',
|
||||
rule: /^([a-zA-Z_][a-zA-Z0-9_]*)+([.][a-zA-Z_][a-zA-Z0-9_]*)+$/,
|
||||
examples: ['com.bbb.name']
|
||||
},
|
||||
{
|
||||
title: 'mac地址',
|
||||
rule: /^((([a-f0-9]{2}:){5})|(([a-f0-9]{2}-){5}))[a-f0-9]{2}$/i,
|
||||
examples: ['38:f9:d3:4b:f5:51','00-0C-29-CA-E4-66']
|
||||
}
|
||||
];
|
Loading…
x
Reference in New Issue
Block a user