From faf997288b1c1d04d48e87a5f0b395a24e4476b1 Mon Sep 17 00:00:00 2001 From: "justdave%syndicomm.com" <> Date: Fri, 7 Sep 2001 10:25:33 +0000 Subject: 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 --- defparams.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'defparams.pl') diff --git a/defparams.pl b/defparams.pl index 31bd57d4f..62f13aa90 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.", -- cgit v1.2.3-24-g4f1b