OS = CentOS Stream release 8
PHP = 7.4.29

preg_replace('~[^\pL0-9_]+~u', '-', 'http://rpms.famille_collet.com:80/pcre.php?été') = 'http-rpms-famille_collet-com-80-pcre-php-été'