Re: [elixir-core:10471] Proposal: Path.match?/3

2021-10-03 Thread José Valim
This would be a welcome addition. However, notice that our wildcard implementation simply relies on Erlang's filelib:wildcard/2. So the first path would be to add filelib:match/2 to Erlang. Feel free to ping me on IRC if you need help or guidance to get this started on the Erlang side. On Sun,

[elixir-core:10471] Proposal: Path.match?/3

2021-10-03 Thread Jon Leighton
Hi there, I have published a new library called path_glob: https://github.com/jonleighton/path_glob It aims to implement glob matching without touching the filesystem. That is, if a path is returned by Path.wildcard(glob, opts), then PathGlob.match?(path, glob, opts) should return true. This