Skip to content

Commit

Permalink
Merge pull request #1 from sanderpotjer/patch-1
Browse files Browse the repository at this point in the history
Update documentation link in docblock
  • Loading branch information
astridx authored May 6, 2019
2 parents 0788f99 + 50b4cbb commit 1e9335f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/src/Form/Rule/EmailRule.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class EmailRule extends FormRule
*
* @var string
* @since 1.7.0
* @link http://www.w3.org/TR/html-markup/input.email.html
* @link https://www.w3.org/TR/html/sec-forms.html#email-state-typeemail
*/
protected $regex = "^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])"
. "?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$";
Expand Down

0 comments on commit 1e9335f

Please sign in to comment.