Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

银行卡号校验错误❌(10到30位, 覆盖对公/私账户)河北省的对公账户匹配不上 #307

Open
fyl0531 opened this issue Dec 21, 2023 · 0 comments

Comments

@fyl0531
Copy link

fyl0531 commented Dec 21, 2023

银行卡号(10到30位, 覆盖对公/私账户)
原正则:
rule: /^[1-9]\d{9,29}$/
这样的话,河北省的对公账户就会匹配不上,参考:https://blog.csdn.net/gehong3641/article/details/122140559
img_v3_026b_178cd28a-da19-4849-b2fc-92d8e34bfe4g
应该是:
rule: /^\d{10,30}$/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant