Skip to content

Commit

Permalink
Merge pull request #9 from LearningLocker/issue-8
Browse files Browse the repository at this point in the history
Fixes #8.
  • Loading branch information
ryasmi committed Jan 12, 2016
2 parents 09f16de + 4009826 commit 0c6a641
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
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]{2,4}$/i';
protected static $pattern = '/^mailto:[A-Z0-9.\'_%+-]+@[A-Z0-9.-]+\.[A-Z]{1,63}$/i';
}
8 changes: 1 addition & 7 deletions tests/assets/test.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
{
"actor": {
"objectType": "Group",
"account": {
"homePage": "http://myaccount.bmj.com",
"name": "hrl"
},
"member": [
]
"mbox": "mailto:x@y.horse"
},
"verb": {
"id": "http:\/\/adlnet.gov\/expapi\/verbs\/completed",
Expand Down

0 comments on commit 0c6a641

Please sign in to comment.