Re: [Evolution-hackers] mail address validation



On Thu, 2010-01-21 at 20:17 +0100, Roberto -MadBob- Guido wrote:

> In the first version of the patch
> ( http://bugzilla-attachments.gnome.org/attachment.cgi?id=146701 )
> I've provided a routine built on regular expressions (regcomp() and
> regexec()). Opinions about that?

Please read my comment to the bug report, that I just added this
morning.  As Tobias mentions that RE is way too restrictive.

My suggestion was this:

   ^[^;, \t]+ [-_ a-zA-Z0-9]+$

https://bugzilla.gnome.org/show_bug.cgi?id=213724




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]