-
Notifications
You must be signed in to change notification settings - Fork 29
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
Length modes #88
Length modes #88
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems fine to me
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
benchmarks are over 😔
Released in v0.18 |
Closes Rework string length rules #84
Closes Feature request: UTF-16 code units length validator #40
Add a mode argument to the
length
rule. Currently supports:simple
, which is the defaultbytes
chars
graphemes
utf16
Remove
byte_length