Hi,

It seems that perl regular expressions lost one polish letter (ą):
https://www.compart.com/en/unicode/U+0105

I can see this problem only under OpenBSD 6.7 with php-7.4 (same version of
php under linux is OK)

Ex.:

PHP 7.4.10 or 7.4.5
<?php var_dump(preg_match('/^.{5,64}$/', 'daswęzdas'));
int(1) // OK

PHP 7.4.10 or 7.4.5
<?php var_dump(preg_match('/^.{5,64}$/', 'daswązdas'));
int(0) // UPS???

PHP 7.3.21
<?php var_dump(preg_match('/^.{5,64}$/', 'daswęzdas'));
int(1) // OK

PHP 7.3.21
<?php var_dump(preg_match('/^.{5,64}$/', 'daswązdas'));
int(1) // OK

Any ideas how to fix that?

Regards,
Bambero

Reply via email to