diff options
author | justdave%syndicomm.com <> | 2001-09-07 12:25:33 +0200 |
---|---|---|
committer | justdave%syndicomm.com <> | 2001-09-07 12:25:33 +0200 |
commit | faf997288b1c1d04d48e87a5f0b395a24e4476b1 (patch) | |
tree | 491c2a4591912bdf4ceaed0b401794c9674753d3 | |
parent | dac2f59798ada0a77717d4a6f455901c8bf1c10a (diff) | |
download | bugzilla-faf997288b1c1d04d48e87a5f0b395a24e4476b1.tar.gz bugzilla-faf997288b1c1d04d48e87a5f0b395a24e4476b1.tar.xz |
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 <justdave@syndicomm.com>
r= jake@acutex.net x2
-rw-r--r-- | defparams.pl | 4 |
1 files changed, 2 insertions, 2 deletions
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 <tt>^[^@]*$</tt>, 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 <tt>^[^@]+$</tt>, 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 <tt>emailregexp</tt> param.", |