Why does PHP return 0 for current code? I just want to validate users name and allow to pass all letter signs available (incl. all characters like śćę......). What I'm doing wrong?
$var = 'cz -ęsc';
var_dump(preg_match('/^[\pL -]{1,35}$/', $var)); // int(0)