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.
2 parents 09f16de + 4009826 commit 0c6a641Copy full SHA for 0c6a641
src/Mailto.php
@@ -1,5 +1,5 @@
1
<?php namespace Locker\XApi;
2
3
class Mailto extends RegexpAtom {
4
- 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]{1,63}$/i';
5
}
tests/assets/test.json
@@ -1,12 +1,6 @@
{
"actor": {
- "objectType": "Group",
- "account": {
- "homePage": "http://myaccount.bmj.com",
6
- "name": "hrl"
7
- },
8
- "member": [
9
- ]
+ "mbox": "mailto:[email protected]"
10
},
11
"verb": {
12
"id": "http:\/\/adlnet.gov\/expapi\/verbs\/completed",
0 commit comments