{"action":"created","issue":{"url":"https://api.github.com/repos/fent/randexp.js/issues/27","repository_url":"https://api.github.com/repos/fent/randexp.js","labels_url":"https://api.github.com/repos/fent/randexp.js/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/fent/randexp.js/issues/27/comments","events_url":"https://api.github.com/repos/fent/randexp.js/issues/27/events","html_url":"https://github.com/fent/randexp.js/pull/27","id":183491072,"number":27,"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},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-17T18:28:14Z","updated_at":"2016-10-18T14:44:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/fent/randexp.js/pulls/27","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"},"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```"},"comment":{"url":"https://api.github.com/repos/fent/randexp.js/issues/comments/254530228","html_url":"https://github.com/fent/randexp.js/pull/27#issuecomment-254530228","issue_url":"https://api.github.com/repos/fent/randexp.js/issues/27","id":254530228,"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},"created_at":"2016-10-18T14:44:39Z","updated_at":"2016-10-18T14:44:39Z","body":"It's good to hear the library is being used. Thanks for the PR but, supporting only a basic version of that feature would have people believe that your library fully supports lookaheads, when the basic version doesn't provide any added benefits compared to a regular group. And they might become frustrated when they find out lookaheads are not fully supported."}}
{"actor":{"display_login":"fent"}}