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
This commit is contained in:
justdave%syndicomm.com 2001-09-07 03:25:33 +00:00
Родитель 06944cc30e
Коммит 26ba717886
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -539,9 +539,9 @@ DefParam("expectbigqueries",
0); 0);
DefParam("emailregexp", 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", "t",
q:^[^@]*@[^@]*\\.[^@]*$:); q:^[^@]+@[^@]+\\.[^@]+$:);
DefParam("emailregexpdesc", DefParam("emailregexpdesc",
"This describes in english words what kinds of legal addresses are allowed by the <tt>emailregexp</tt> param.", "This describes in english words what kinds of legal addresses are allowed by the <tt>emailregexp</tt> param.",