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 git-svn-id: svn://10.0.0.236/trunk@102507 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
d015d63bf1
commit
f0c275702c
@ -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.",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user