summaryrefslogtreecommitdiffstats
path: root/defparams.pl
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2001-09-07 12:25:33 +0200
committerjustdave%syndicomm.com <>2001-09-07 12:25:33 +0200
commitfaf997288b1c1d04d48e87a5f0b395a24e4476b1 (patch)
tree491c2a4591912bdf4ceaed0b401794c9674753d3 /defparams.pl
parentdac2f59798ada0a77717d4a6f455901c8bf1c10a (diff)
downloadbugzilla-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
Diffstat (limited to 'defparams.pl')
-rw-r--r--defparams.pl4
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.",