{"action":"closed","number":27,"pull_request":{"url":"https://api.github.com/repos/fent/randexp.js/pulls/27","id":89676586,"html_url":"https://github.com/fent/randexp.js/pull/27","diff_url":"https://github.com/fent/randexp.js/pull/27.diff","patch_url":"https://github.com/fent/randexp.js/pull/27.patch","issue_url":"https://api.github.com/repos/fent/randexp.js/issues/27","number":27,"state":"closed","locked":false,"title":"Add basic positive lookahead support","user":{"login":"WesTyler","id":12154939,"avatar_url":"https://avatars.githubusercontent.com/u/12154939?v=3","gravatar_id":"","url":"https://api.github.com/users/WesTyler","html_url":"https://github.com/WesTyler","followers_url":"https://api.github.com/users/WesTyler/followers","following_url":"https://api.github.com/users/WesTyler/following{/other_user}","gists_url":"https://api.github.com/users/WesTyler/gists{/gist_id}","starred_url":"https://api.github.com/users/WesTyler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WesTyler/subscriptions","organizations_url":"https://api.github.com/users/WesTyler/orgs","repos_url":"https://api.github.com/users/WesTyler/repos","events_url":"https://api.github.com/users/WesTyler/events{/privacy}","received_events_url":"https://api.github.com/users/WesTyler/received_events","type":"User","site_admin":false},"body":"Addresses basic implementation for #18 .\r\n\r\nBasic cases not previously supported that now pass:\r\n```Javascript\r\nconst justA = randexp('^(?=a).$');            // justA === 'a'\r\n\r\nconst positivePattern = '^hi(?= no one)';\r\nconst lookAhead = randexp(positivePattern);   // lookAhead === 'hi no one'\r\nlookAhead.match(positivePattern);             // -->> [ 'hi', index: 0, input: 'hi no one' ]\r\n\r\nconst negativePattern = '^hi(?! no one)';\r\nconst noLookAhead = randexp(negativePattern); // noLookAhead === 'hi'\r\nnoLookAhead.match(negativePattern);           // -->> [ 'hi', index: 0, input: 'hi' ]\r\nlookAhead.match(negativePattern);             // -->> null\r\n```","created_at":"2016-10-17T18:28:14Z","updated_at":"2016-10-18T15:46:26Z","closed_at":"2016-10-18T15:46:26Z","merged_at":null,"merge_commit_sha":"8b1d934d519f8c486cefab32272f3bc943fa52c7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/fent/randexp.js/pulls/27/commits","review_comments_url":"https://api.github.com/repos/fent/randexp.js/pulls/27/comments","review_comment_url":"https://api.github.com/repos/fent/randexp.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fent/randexp.js/issues/27/comments","statuses_url":"https://api.github.com/repos/fent/randexp.js/statuses/e8db1a56913213703b2f7d8fb8c563097128dbea","head":{"label":"WesTyler:master","ref":"master","sha":"e8db1a56913213703b2f7d8fb8c563097128dbea","user":{"login":"WesTyler","id":12154939,"avatar_url":"https://avatars.githubusercontent.com/u/12154939?v=3","gravatar_id":"","url":"https://api.github.com/users/WesTyler","html_url":"https://github.com/WesTyler","followers_url":"https://api.github.com/users/WesTyler/followers","following_url":"https://api.github.com/users/WesTyler/following{/other_user}","gists_url":"https://api.github.com/users/WesTyler/gists{/gist_id}","starred_url":"https://api.github.com/users/WesTyler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WesTyler/subscriptions","organizations_url":"https://api.github.com/users/WesTyler/orgs","repos_url":"https://api.github.com/users/WesTyler/repos","events_url":"https://api.github.com/users/WesTyler/events{/privacy}","received_events_url":"https://api.github.com/users/WesTyler/received_events","type":"User","site_admin":false},"repo":{"id":71151183,"name":"randexp.js","full_name":"WesTyler/randexp.js","owner":{"login":"WesTyler","id":12154939,"avatar_url":"https://avatars.githubusercontent.com/u/12154939?v=3","gravatar_id":"","url":"https://api.github.com/users/WesTyler","html_url":"https://github.com/WesTyler","followers_url":"https://api.github.com/users/WesTyler/followers","following_url":"https://api.github.com/users/WesTyler/following{/other_user}","gists_url":"https://api.github.com/users/WesTyler/gists{/gist_id}","starred_url":"https://api.github.com/users/WesTyler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WesTyler/subscriptions","organizations_url":"https://api.github.com/users/WesTyler/orgs","repos_url":"https://api.github.com/users/WesTyler/repos","events_url":"https://api.github.com/users/WesTyler/events{/privacy}","received_events_url":"https://api.github.com/users/WesTyler/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/WesTyler/randexp.js","description":"Create random strings that match a given regular expression.","fork":true,"url":"https://api.github.com/repos/WesTyler/randexp.js","forks_url":"https://api.github.com/repos/WesTyler/randexp.js/forks","keys_url":"https://api.github.com/repos/WesTyler/randexp.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WesTyler/randexp.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WesTyler/randexp.js/teams","hooks_url":"https://api.github.com/repos/WesTyler/randexp.js/hooks","issue_events_url":"https://api.github.com/repos/WesTyler/randexp.js/issues/events{/number}","events_url":"https://api.github.com/repos/WesTyler/randexp.js/events","assignees_url":"https://api.github.com/repos/WesTyler/randexp.js/assignees{/user}","branches_url":"https://api.github.com/repos/WesTyler/randexp.js/branches{/branch}","tags_url":"https://api.github.com/repos/WesTyler/randexp.js/tags","blobs_url":"https://api.github.com/repos/WesTyler/randexp.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WesTyler/randexp.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WesTyler/randexp.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/WesTyler/randexp.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WesTyler/randexp.js/statuses/{sha}","languages_url":"https://api.github.com/repos/WesTyler/randexp.js/languages","stargazers_url":"https://api.github.com/repos/WesTyler/randexp.js/stargazers","contributors_url":"https://api.github.com/repos/WesTyler/randexp.js/contributors","subscribers_url":"https://api.github.com/repos/WesTyler/randexp.js/subscribers","subscription_url":"https://api.github.com/repos/WesTyler/randexp.js/subscription","commits_url":"https://api.github.com/repos/WesTyler/randexp.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/WesTyler/randexp.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/WesTyler/randexp.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/WesTyler/randexp.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/WesTyler/randexp.js/contents/{+path}","compare_url":"https://api.github.com/repos/WesTyler/randexp.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WesTyler/randexp.js/merges","archive_url":"https://api.github.com/repos/WesTyler/randexp.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WesTyler/randexp.js/downloads","issues_url":"https://api.github.com/repos/WesTyler/randexp.js/issues{/number}","pulls_url":"https://api.github.com/repos/WesTyler/randexp.js/pulls{/number}","milestones_url":"https://api.github.com/repos/WesTyler/randexp.js/milestones{/number}","notifications_url":"https://api.github.com/repos/WesTyler/randexp.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WesTyler/randexp.js/labels{/name}","releases_url":"https://api.github.com/repos/WesTyler/randexp.js/releases{/id}","deployments_url":"https://api.github.com/repos/WesTyler/randexp.js/deployments","created_at":"2016-10-17T15:08:30Z","updated_at":"2016-10-17T15:08:31Z","pushed_at":"2016-10-17T18:18:41Z","git_url":"git://github.com/WesTyler/randexp.js.git","ssh_url":"git@github.com:WesTyler/randexp.js.git","clone_url":"https://github.com/WesTyler/randexp.js.git","svn_url":"https://github.com/WesTyler/randexp.js","homepage":"http://fent.github.io/randexp.js/","size":144,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"fent:master","ref":"master","sha":"e5b28d6a64ae74c85f5c4f0a2f8b01e01f4fa879","user":{"login":"fent","id":933490,"avatar_url":"https://avatars.githubusercontent.com/u/933490?v=3","gravatar_id":"","url":"https://api.github.com/users/fent","html_url":"https://github.com/fent","followers_url":"https://api.github.com/users/fent/followers","following_url":"https://api.github.com/users/fent/following{/other_user}","gists_url":"https://api.github.com/users/fent/gists{/gist_id}","starred_url":"https://api.github.com/users/fent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fent/subscriptions","organizations_url":"https://api.github.com/users/fent/orgs","repos_url":"https://api.github.com/users/fent/repos","events_url":"https://api.github.com/users/fent/events{/privacy}","received_events_url":"https://api.github.com/users/fent/received_events","type":"User","site_admin":false},"repo":{"id":2925284,"name":"randexp.js","full_name":"fent/randexp.js","owner":{"login":"fent","id":933490,"avatar_url":"https://avatars.githubusercontent.com/u/933490?v=3","gravatar_id":"","url":"https://api.github.com/users/fent","html_url":"https://github.com/fent","followers_url":"https://api.github.com/users/fent/followers","following_url":"https://api.github.com/users/fent/following{/other_user}","gists_url":"https://api.github.com/users/fent/gists{/gist_id}","starred_url":"https://api.github.com/users/fent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fent/subscriptions","organizations_url":"https://api.github.com/users/fent/orgs","repos_url":"https://api.github.com/users/fent/repos","events_url":"https://api.github.com/users/fent/events{/privacy}","received_events_url":"https://api.github.com/users/fent/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fent/randexp.js","description":"Create random strings that match a given regular expression.","fork":false,"url":"https://api.github.com/repos/fent/randexp.js","forks_url":"https://api.github.com/repos/fent/randexp.js/forks","keys_url":"https://api.github.com/repos/fent/randexp.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fent/randexp.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fent/randexp.js/teams","hooks_url":"https://api.github.com/repos/fent/randexp.js/hooks","issue_events_url":"https://api.github.com/repos/fent/randexp.js/issues/events{/number}","events_url":"https://api.github.com/repos/fent/randexp.js/events","assignees_url":"https://api.github.com/repos/fent/randexp.js/assignees{/user}","branches_url":"https://api.github.com/repos/fent/randexp.js/branches{/branch}","tags_url":"https://api.github.com/repos/fent/randexp.js/tags","blobs_url":"https://api.github.com/repos/fent/randexp.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fent/randexp.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fent/randexp.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/fent/randexp.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fent/randexp.js/statuses/{sha}","languages_url":"https://api.github.com/repos/fent/randexp.js/languages","stargazers_url":"https://api.github.com/repos/fent/randexp.js/stargazers","contributors_url":"https://api.github.com/repos/fent/randexp.js/contributors","subscribers_url":"https://api.github.com/repos/fent/randexp.js/subscribers","subscription_url":"https://api.github.com/repos/fent/randexp.js/subscription","commits_url":"https://api.github.com/repos/fent/randexp.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/fent/randexp.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/fent/randexp.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/fent/randexp.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/fent/randexp.js/contents/{+path}","compare_url":"https://api.github.com/repos/fent/randexp.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fent/randexp.js/merges","archive_url":"https://api.github.com/repos/fent/randexp.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fent/randexp.js/downloads","issues_url":"https://api.github.com/repos/fent/randexp.js/issues{/number}","pulls_url":"https://api.github.com/repos/fent/randexp.js/pulls{/number}","milestones_url":"https://api.github.com/repos/fent/randexp.js/milestones{/number}","notifications_url":"https://api.github.com/repos/fent/randexp.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fent/randexp.js/labels{/name}","releases_url":"https://api.github.com/repos/fent/randexp.js/releases{/id}","deployments_url":"https://api.github.com/repos/fent/randexp.js/deployments","created_at":"2011-12-06T14:34:17Z","updated_at":"2016-10-17T15:07:56Z","pushed_at":"2016-10-17T18:28:15Z","git_url":"git://github.com/fent/randexp.js.git","ssh_url":"git@github.com:fent/randexp.js.git","clone_url":"https://github.com/fent/randexp.js.git","svn_url":"https://github.com/fent/randexp.js","homepage":"http://fent.github.io/randexp.js/","size":152,"stargazers_count":896,"watchers_count":896,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":35,"mirror_url":null,"open_issues_count":1,"forks":35,"open_issues":1,"watchers":896,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fent/randexp.js/pulls/27"},"html":{"href":"https://github.com/fent/randexp.js/pull/27"},"issue":{"href":"https://api.github.com/repos/fent/randexp.js/issues/27"},"comments":{"href":"https://api.github.com/repos/fent/randexp.js/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/fent/randexp.js/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/fent/randexp.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fent/randexp.js/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/fent/randexp.js/statuses/e8db1a56913213703b2f7d8fb8c563097128dbea"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":5,"review_comments":0,"commits":1,"additions":29,"deletions":6,"changed_files":2}}
{"actor":{"display_login":"WesTyler"}}