Skip to content

Commit

Permalink
Fix ReGex from #4894 . Thanks JM!
Browse files Browse the repository at this point in the history
  • Loading branch information
rvbgnu committed Nov 4, 2014
1 parent 3882d45 commit f71d3e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/joomla/form/rules/email.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class JFormRuleEmail extends JFormRule
* @var string
* @since 11.1
*/
protected $regex = '^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]{2,})$';
protected $regex = '^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$';


/**
Expand Down

0 comments on commit f71d3e0

Please sign in to comment.