Open ECode16 opened 3 days ago
7.4
4.4.8
Composer (using codeigniter4/appstarter)
codeigniter4/appstarter
Windows
cli
Postgres 16
All alphabetical/alphanumerical evaluate to false when encountering non-English characters (accented/cyrillic).
service('validation')->check('пЗХТЕГ', 'alpha'); service('validation')->check('á', 'alpha');
true true
No response
Not bug. Read docs:
Fails if field has anything other than alphabetic characters in ASCII.
Use regex_match[/[а-яё]+/]
regex_match[/[а-яё]+/]
PHP Version
7.4
CodeIgniter4 Version
4.4.8
CodeIgniter4 Installation Method
Composer (using
codeigniter4/appstarter
)Which operating systems have you tested for this bug?
Windows
Which server did you use?
cli
Database
Postgres 16
What happened?
All alphabetical/alphanumerical evaluate to false when encountering non-English characters (accented/cyrillic).
Steps to Reproduce
service('validation')->check('пЗХТЕГ', 'alpha'); service('validation')->check('á', 'alpha');
Expected Output
true true
Anything else?
No response