{"action":"opened","issue":{"url":"https://api.github.com/repos/rust-lang/glob/issues/40","labels_url":"https://api.github.com/repos/rust-lang/glob/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/glob/issues/40/comments","events_url":"https://api.github.com/repos/rust-lang/glob/issues/40/events","html_url":"https://github.com/rust-lang/glob/issues/40","id":76601307,"number":40,"title":"\"**\" pattern on Windows.","user":{"login":"sp0","id":1902223,"avatar_url":"https://avatars.githubusercontent.com/u/1902223?v=3","gravatar_id":"","url":"https://api.github.com/users/sp0","html_url":"https://github.com/sp0","followers_url":"https://api.github.com/users/sp0/followers","following_url":"https://api.github.com/users/sp0/following{/other_user}","gists_url":"https://api.github.com/users/sp0/gists{/gist_id}","starred_url":"https://api.github.com/users/sp0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sp0/subscriptions","organizations_url":"https://api.github.com/users/sp0/orgs","repos_url":"https://api.github.com/users/sp0/repos","events_url":"https://api.github.com/users/sp0/events{/privacy}","received_events_url":"https://api.github.com/users/sp0/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-15T05:28:39Z","updated_at":"2015-05-15T05:28:39Z","closed_at":null,"body":"I was constructing a pattern like so: \r\n```\r\nlet pattern = path.join(\"**/*.rs\");\r\n```\r\nWhich works fine on linux. On windows I get an error:\r\n```\r\nPattern syntax error near position 3: recursive wildcards must form a single path component\r\n```\r\nThis is because the pattern is expected to be something like ```src/**/*.rs```. However on windows, it would be ```src\\**/*.rs```. Is this a bug, or am I constructing a pattern which should be considered invalid?"}}