We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efe3030 commit 5cf125aCopy full SHA for 5cf125a
.gitignore
@@ -4,3 +4,5 @@
4
# Composer.
5
vendor
6
composer.lock
7
+
8
+tests/assets/test.json
src/Mailto.php
@@ -1,5 +1,5 @@
1
<?php namespace Locker\XApi;
2
3
class Mailto extends RegexpAtom {
- protected static $pattern = '/^mailto:[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i';
+ protected static $pattern = '/^mailto:[A-Z0-9.\'_%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i';
}
0 commit comments