[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdepim/kaddressbook
From:       Tobias Koenig <tokoe () kde ! org>
Date:       2005-01-17 17:50:51
Message-ID: 20050117175051.1420918628 () office ! kde ! org
[Download RAW message or body]

CVS commit by tokoe: 

Changed the mail validation regexp to allow also domain names with non-latin1
characters.


  M +1 -1      emaileditwidget.cpp   1.27


--- kdepim/kaddressbook/emaileditwidget.cpp  #1.26:1.27
@@ -51,5 +51,5 @@ class EmailValidator : public QRegExpVal
       : QRegExpValidator( 0, "EmailValidator" )
     {
-      QRegExp rx( "[A-Za-z\\-\\.\\_0-9]+@[A-Za-z\\-\\.\\_0-9]+\\.[A-Za-z]+" );
+      QRegExp rx( ".*@.*\\.[A-Za-z]+" );
       setRegExp( rx );
     }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic