]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix for bug 98468: sample email regexp for username-only address changed from ^[...
authorjustdave%syndicomm.com <>
Fri, 7 Sep 2001 10:25:33 +0000 (10:25 +0000)
committerjustdave%syndicomm.com <>
Fri, 7 Sep 2001 10:25:33 +0000 (10:25 +0000)
Patch by Dave Miller <justdave@syndicomm.com>
r= jake@acutex.net x2

defparams.pl

index 31bd57d4f9ad0e9e81db2fe31f967c0353a30d50..62f13aa90d09720e42885f1c850fe6a6dfd935a0 100644 (file)
@@ -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.",