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

update string comparisons to use utf8.RuneCountInString #113

Merged
merged 6 commits into from
Jul 13, 2015
Merged

Conversation

deankarn
Copy link
Contributor

No description provided.

zhing and others added 6 commits July 12, 2015 13:22
updated baked in functions:
hasLengthOf
isGt
isGte
isLt
isLte

to use utf8.RuneCountInString for string length comparisons, not counting multi-bye
characters but runes in string length comparisons.
update to use utf8.RuneCountInString for string length
@deankarn deankarn self-assigned this Jul 13, 2015
@deankarn deankarn added this to the Next Release v5 milestone Jul 13, 2015
deankarn pushed a commit that referenced this pull request Jul 13, 2015
update string comparisons to use utf8.RuneCountInString
@deankarn deankarn merged commit ac33a23 into v5 Jul 13, 2015
fairyhunter13 added a commit to fairyhunter13/validator that referenced this pull request Jul 12, 2020
update string comparisons to use utf8.RuneCountInString
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants