mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 09:59:06 +01:00
Change alphanumeric regex validation in class.LSformRule_alphanumeric.php
This commit is contained in:
parent
e8c0205810
commit
56f6b34d1f
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class LSformRule_alphanumeric extends LSformRule {
|
|||
|
||||
|
||||
if (isset($options['params']['with_accents']) && $options['params']['with_accents'] == true){
|
||||
$regex = '/^[a-zA-Z0-9àâäéèêëîïôöù]+$/';
|
||||
$regex = '/(*UTF8)^[0-9\p{L}]+$/';
|
||||
}
|
||||
else {
|
||||
$regex = '/^[a-zA-Z0-9]+$/';
|
||||
|
|
Loading…
Reference in a new issue