-
Description:https://laravel.com/docs/9.x/validation#rule-alpha May I ask alphabetic characters. Does the meaning of this sentence include other languages, or is it just 26 English letters? Steps To Reproduce:Use alpha for form validation, enter Chinese, the validation rule will pass |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
This issue is related to this validation rule In |
Beta Was this translation helpful? Give feedback.
-
This regex is using Unicode character properties. It is many, many more characters than A-Z. If you want something more restrictive, you could use the |
Beta Was this translation helpful? Give feedback.
-
Thanks @joelclermont I know this regex match is a Unicode character. But I am confused about this document. My understanding of the document description is that it will verify whether it is an English letter, not a Unicode character. alpha |
Beta Was this translation helpful? Give feedback.
-
Change to a new link to discuss. |
Beta Was this translation helpful? Give feedback.
#45660
Change to a new link to discuss.