Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Another odd issue in the regex that was updated recently for allowing…

… single quotes in email addresses. Apparently anchoring the start and end of the regex was causing nothing to match. Removed the anchors but left the single quote option in place.
  • Loading branch information...
commit 5d923f7f5772b0673f928cbab0567d9013bbb3d7 1 parent 5e626d5
@jaredbischof jaredbischof authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/WebApplication/WebComponent/
2  src/WebApplication/WebComponent/
@@ -212,7 +212,7 @@ sub perform_registration {
# check if email address is valid
- unless ($cgi->param('email') =~ /^[\d\w\.\'-]+\@[\d\w\.-]+\.[\w+]$/) {
+ unless ($cgi->param('email') =~ /[\d\w\.\'-]+\@[\d\w\.-]+\.[\w+]/) {
$application->add_message('warning', 'You must enter a valid eMail address.');
return 0;
Please sign in to comment.
Something went wrong with that request. Please try again.