
21 Jan
2008
21 Jan
'08
7:40 a.m.
В сообщении от Thursday 17 January 2008 19:56:40 Nils Breunese (Lemonbit) написал(а):
The regex that checks e-mail addresses is probably not entirely correct. Some mail regexes only check for @ and whether the part after the @ has a dot. A completely RFC-compliant regex is pretty large.
no need to use handmade regex or that large regex. all work can be done via module Email::Valid. this module answer yes or no for given email. it's simple. http://search.cpan.org/~rjbs/Email-Valid-0.179/lib/Email/Valid.pm
regex needs to be changed. You can file a bug report at http://bugs.otrs.org/
and post it's number here ;) Mike