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

身份证正则 问题 #19

Open
GeekWorkCode opened this issue Jun 22, 2018 · 1 comment
Open

身份证正则 问题 #19

GeekWorkCode opened this issue Jun 22, 2018 · 1 comment

Comments

@GeekWorkCode
Copy link

let kLimitedTextCarIDRegex = "(^[0-9]{15}$)|([0-9]{17}([0-9]|X)$)"
textField.limitedRegEx = MatchConstant.Name.kLimitedTextCarIDRegex
textField.limitedType = .custom
输入框什么都不能输入,这种情况应该咋用啊?

@tingxins
Copy link
Owner

具有实时判断的正则,现有版本尚不支持。

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

No branches or pull requests

2 participants