docs: 更新文档

This commit is contained in:
宁宁 2019-07-03 16:18:00 +08:00
parent 3c624df4ab
commit a11694a44d
2 changed files with 4 additions and 7 deletions

View File

@ -1,6 +1,5 @@
# any-rule # 正则大全
正则大全 :whale: 图形界面: https://any86.github.io/any-rule/
https://any86.github.io/any-rule/
## 银行卡号16或19位 ## 银行卡号16或19位
```javascript ```javascript

View File

@ -1,10 +1,8 @@
const fs = require('fs'); const fs = require('fs');
const chalk = require('chalk'); const chalk = require('chalk');
const json = require('../src/RULES.js'); const json = require('../src/RULES.js');
let content = `# any-rule let content = `# 正则大全
正则大全 图形界面: https://any86.github.io/any-rule/\r\n`;
https://any86.github.io/any-rule/
`;
json.forEach(({title, rule})=>{ json.forEach(({title, rule})=>{
content+= `\r\n## ${title}\r\n`; content+= `\r\n## ${title}\r\n`;
content+= `\`\`\`javascript\r\n`; content+= `\`\`\`javascript\r\n`;