{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/6192","repository_url":"https://api.github.com/repos/nodejs/node","labels_url":"https://api.github.com/repos/nodejs/node/issues/6192/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/6192/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/6192/events","html_url":"https://github.com/nodejs/node/pull/6192","id":148223705,"number":6192,"title":"repl: Don’t complete non-simple expressions","user":{"login":"addaleax","id":899444,"avatar_url":"https://avatars.githubusercontent.com/u/899444?v=3","gravatar_id":"","url":"https://api.github.com/users/addaleax","html_url":"https://github.com/addaleax","followers_url":"https://api.github.com/users/addaleax/followers","following_url":"https://api.github.com/users/addaleax/following{/other_user}","gists_url":"https://api.github.com/users/addaleax/gists{/gist_id}","starred_url":"https://api.github.com/users/addaleax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/addaleax/subscriptions","organizations_url":"https://api.github.com/users/addaleax/orgs","repos_url":"https://api.github.com/users/addaleax/repos","events_url":"https://api.github.com/users/addaleax/events{/privacy}","received_events_url":"https://api.github.com/users/addaleax/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodejs/node/labels/repl","name":"repl","color":"5319e7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-04-14T01:14:24Z","updated_at":"2016-04-21T15:42:18Z","closed_at":"2016-04-14T12:25:24Z","pull_request":{"url":"https://api.github.com/repos/nodejs/node/pulls/6192","html_url":"https://github.com/nodejs/node/pull/6192","diff_url":"https://github.com/nodejs/node/pull/6192.diff","patch_url":"https://github.com/nodejs/node/pull/6192.patch"},"body":"##### Checklist\r\n\r\n- [x] tests and code linting passes\r\n- [x] a test and/or benchmark is included\r\n- [x] the commit message follows commit guidelines\r\n\r\n\r\n##### Affected core subsystem(s)\r\n\r\nrepl\r\n\r\n##### Description of change\r\n\r\nChange the regular expression that recognizes “simple” JS expressions to requiring that the full line needs to match it.\r\n\r\nPreviously, in terms like `a().b.`, `b.` would be a partial match. This meant that completion would evaluate `b` and either fail with a `ReferenceError` or, if `b` was some global, return the properties of the global `b` object."},"comment":{"url":"https://api.github.com/repos/nodejs/node/issues/comments/212979098","html_url":"https://github.com/nodejs/node/pull/6192#issuecomment-212979098","issue_url":"https://api.github.com/repos/nodejs/node/issues/6192","id":212979098,"user":{"login":"TheAlphaNerd","id":498775,"avatar_url":"https://avatars.githubusercontent.com/u/498775?v=3","gravatar_id":"","url":"https://api.github.com/users/TheAlphaNerd","html_url":"https://github.com/TheAlphaNerd","followers_url":"https://api.github.com/users/TheAlphaNerd/followers","following_url":"https://api.github.com/users/TheAlphaNerd/following{/other_user}","gists_url":"https://api.github.com/users/TheAlphaNerd/gists{/gist_id}","starred_url":"https://api.github.com/users/TheAlphaNerd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheAlphaNerd/subscriptions","organizations_url":"https://api.github.com/users/TheAlphaNerd/orgs","repos_url":"https://api.github.com/users/TheAlphaNerd/repos","events_url":"https://api.github.com/users/TheAlphaNerd/events{/privacy}","received_events_url":"https://api.github.com/users/TheAlphaNerd/received_events","type":"User","site_admin":false},"created_at":"2016-04-21T15:42:18Z","updated_at":"2016-04-21T15:42:18Z","body":"I'm going to back this out of v5.11.0-proposal due to this regression"}}