mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-24 14:58:43 +01:00
"allowing (at least) German umlauts in domain names"
This commit is contained in:
parent
316e8bc76d
commit
4ecc2c0360
@ -61,7 +61,8 @@ class url_widget
|
|||||||
*
|
*
|
||||||
* has to be used case insensitive: /i
|
* has to be used case insensitive: /i
|
||||||
*/
|
*/
|
||||||
const EMAIL_PREG = '([a-z0-9][a-z0-9._-]*)?[a-z0-9]@(([a-z0-9]*[a-z0-9]\.)|([a-z0-9][a-z0-9_-]*[a-z0-9]\.))+[a-z0-9][a-z0-9_-]*[a-z0-9]';
|
//const EMAIL_PREG = '([a-z0-9][a-z0-9._-]*)?[a-z0-9]@([a-z0-9](|[a-z0-9_-]*[a-z0-9])\.)+[a-z]{2,6}';
|
||||||
|
const EMAIL_PREG = '([a-z0-9][a-z0-9._-]*)?[a-z0-9]@([a-z0-9ÄÖÜäöüß](|[a-z0-9ÄÖÜäöüß_-]*[a-z0-9ÄÖÜäöüß])\.)+[a-z]{2,6}';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* pre-processing of the extension
|
* pre-processing of the extension
|
||||||
|
Loading…
Reference in New Issue
Block a user