{"action":"closed","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/13854","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/13854/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/13854/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/13854/events","html_url":"https://github.com/JuliaLang/julia/issues/13854","id":114728866,"number":13854,"title":"Add support to glob expressions in readdir()","user":{"login":"juliohm","id":3345261,"avatar_url":"https://avatars.githubusercontent.com/u/3345261?v=3","gravatar_id":"","url":"https://api.github.com/users/juliohm","html_url":"https://github.com/juliohm","followers_url":"https://api.github.com/users/juliohm/followers","following_url":"https://api.github.com/users/juliohm/following{/other_user}","gists_url":"https://api.github.com/users/juliohm/gists{/gist_id}","starred_url":"https://api.github.com/users/juliohm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliohm/subscriptions","organizations_url":"https://api.github.com/users/juliohm/orgs","repos_url":"https://api.github.com/users/juliohm/repos","events_url":"https://api.github.com/users/juliohm/events{/privacy}","received_events_url":"https://api.github.com/users/juliohm/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-03T02:25:27Z","updated_at":"2015-11-03T08:22:02Z","closed_at":"2015-11-03T08:22:02Z","body":"It's very common to read all files with a given extension in a directory, for instance all `*.dat`. I understand that this can be accomplished by a filter later, but it would be handy to just pass the glob expression as a second argument to `readdir()`.\r\n\r\n```julia\r\nreaddir(\"foo\", \"*.dat\")\r\n```\r\n\r\nWhat are your thoughts on that feature?"}}