any86 / any-rule

🦕 常用正则大全, 支持web / vscode / idea / Alfred Workflow多平台
https://any-rule.vercel.app/
MIT License
8.53k stars 830 forks source link

[vscode feedback] 统一社会信用代码(宽松匹配)(15位/18位/20位数字/字母) #257

Closed you-hengh closed 2 years ago

you-hengh commented 2 years ago

身份证号码怎么有 20 位呢? 这是插件提供的正则

/^(([0-9A-Za-z]{15})|([0-9A-Za-z]{18})|([0-9A-Za-z]{20}))$/

any86 commented 2 years ago

这不是身份证, 是"统一社会信用代码"

you-hengh commented 2 years ago

不好意思