Skip to content

Commit

Permalink
Add backtick to Mailto regex pattern
Browse files Browse the repository at this point in the history
Addresses issue #10
  • Loading branch information
ht2 committed Feb 22, 2016
1 parent 0c6a641 commit cd46e9f
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 cd46e9f

Please sign in to comment.