From: justdave%syndicomm.com <> Date: Fri, 7 Sep 2001 10:25:33 +0000 (+0000) Subject: Fix for bug 98468: sample email regexp for username-only address changed from ^[... X-Git-Tag: bugzilla-2.14.1~145 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=faf997288b1c1d04d48e87a5f0b395a24e4476b1;p=thirdparty%2Fbugzilla.git Fix for bug 98468: sample email regexp for username-only address changed from ^[^@]*$ to ^[^@]+$ and the default emailregexp changed from ^[^@]*@[^@]*\\.[^@]*$ to ^[^@]+@[^@]+\\.[^@]+$ Patch by Dave Miller r= jake@acutex.net x2 --- diff --git a/defparams.pl b/defparams.pl index 31bd57d4f9..62f13aa90d 100644 --- a/defparams.pl +++ b/defparams.pl @@ -539,9 +539,9 @@ DefParam("expectbigqueries", 0); DefParam("emailregexp", - 'This defines the regexp to use for legal email addresses. The default tries to match fully qualified email addresses. Another popular value to put here is ^[^@]*$, which means "local usernames, no @ allowed.', + 'This defines the regexp to use for legal email addresses. The default tries to match fully qualified email addresses. Another popular value to put here is ^[^@]+$, which means "local usernames, no @ allowed."', "t", - q:^[^@]*@[^@]*\\.[^@]*$:); + q:^[^@]+@[^@]+\\.[^@]+$:); DefParam("emailregexpdesc", "This describes in english words what kinds of legal addresses are allowed by the emailregexp param.",