Skip to content

Commit

Permalink
Merge pull request #11 from LearningLocker/issue/valid_mailto
Browse files Browse the repository at this point in the history
Add backtick to Mailto regex pattern
  • Loading branch information
ht2 committed Feb 22, 2016
2 parents 0c6a641 + cd46e9f commit cd1b345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mailto.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php namespace Locker\XApi;

class Mailto extends RegexpAtom {
protected static $pattern = '/^mailto:[A-Z0-9.\'_%+-]+@[A-Z0-9.-]+\.[A-Z]{1,63}$/i';
protected static $pattern = '/^mailto:[A-Z0-9.`\'_%+-]+@[A-Z0-9.-]+\.[A-Z]{1,63}$/i';
}

0 comments on commit cd1b345

Please sign in to comment.