Re: [Evolution-hackers] mail address validation
- From: Paul Smith <paul mad-scientist net>
- To: Roberto -MadBob- Guido <bob4mail gmail com>
- Cc: evolution-hackers <evolution-hackers gnome org>
- Subject: Re: [Evolution-hackers] mail address validation
- Date: Thu, 21 Jan 2010 15:16:03 -0500
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]