{"action":"created","issue":{"url":"https://api.github.com/repos/sindresorhus/dot-prop/issues/8","labels_url":"https://api.github.com/repos/sindresorhus/dot-prop/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/dot-prop/issues/8/comments","events_url":"https://api.github.com/repos/sindresorhus/dot-prop/issues/8/events","html_url":"https://github.com/sindresorhus/dot-prop/pull/8","id":71791562,"number":8,"title":"Accept escaped dots in path","user":{"login":"floatdrop","id":365089,"avatar_url":"https://avatars.githubusercontent.com/u/365089?v=3","gravatar_id":"","url":"https://api.github.com/users/floatdrop","html_url":"https://github.com/floatdrop","followers_url":"https://api.github.com/users/floatdrop/followers","following_url":"https://api.github.com/users/floatdrop/following{/other_user}","gists_url":"https://api.github.com/users/floatdrop/gists{/gist_id}","starred_url":"https://api.github.com/users/floatdrop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floatdrop/subscriptions","organizations_url":"https://api.github.com/users/floatdrop/orgs","repos_url":"https://api.github.com/users/floatdrop/repos","events_url":"https://api.github.com/users/floatdrop/events{/privacy}","received_events_url":"https://api.github.com/users/floatdrop/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-29T06:28:44Z","updated_at":"2015-04-30T13:46:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sindresorhus/dot-prop/pulls/8","html_url":"https://github.com/sindresorhus/dot-prop/pull/8","diff_url":"https://github.com/sindresorhus/dot-prop/pull/8.diff","patch_url":"https://github.com/sindresorhus/dot-prop/pull/8.patch"},"body":"Alternative of #7 \r\n\r\nAllow escaped dots (`\\\\.`) in paths."},"comment":{"url":"https://api.github.com/repos/sindresorhus/dot-prop/issues/comments/97797638","html_url":"https://github.com/sindresorhus/dot-prop/pull/8#issuecomment-97797638","issue_url":"https://api.github.com/repos/sindresorhus/dot-prop/issues/8","id":97797638,"user":{"login":"stevemao","id":6316590,"avatar_url":"https://avatars.githubusercontent.com/u/6316590?v=3","gravatar_id":"","url":"https://api.github.com/users/stevemao","html_url":"https://github.com/stevemao","followers_url":"https://api.github.com/users/stevemao/followers","following_url":"https://api.github.com/users/stevemao/following{/other_user}","gists_url":"https://api.github.com/users/stevemao/gists{/gist_id}","starred_url":"https://api.github.com/users/stevemao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevemao/subscriptions","organizations_url":"https://api.github.com/users/stevemao/orgs","repos_url":"https://api.github.com/users/stevemao/repos","events_url":"https://api.github.com/users/stevemao/events{/privacy}","received_events_url":"https://api.github.com/users/stevemao/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T13:46:03Z","updated_at":"2015-04-30T13:46:03Z","body":"I like escape notation better because the argument is the same type as none escaped path. It also looks cooler. I don't know why people put `.` in the variable name so I don't think we need another argument type for something that's not used very often.\r\n\r\nI would change and cache the regex. \r\n```js\r\nvar rpaths = /(?:\\\\.|[^.])+/g;\r\nvar rescapedDots = /\\\\\\./g;\r\n```"}}