Elixir pattern matches on binaries can only match from the beginning. So /dynamic*anything means everything starting with /dynamic will be matched no matter what follows. The anything afterwards is the name for the param, which should hold the matched rest of the url.
You can imagine it like <<"/dynamic", anything::binary>> = path. There are no ways to be more expressive than that with elixir pattern matching, which are useful in url matching, like e.g. various globing implementations or regex can be.
So if I have the following url /something/deep/nested/ what will be the content of anything? will it be ["deep", "nested"] or simply "/deep/nested".
And what about /dynamicnested? will it be "nested" or "dynamicnested"?
As you explained it, it doesn’t really sound as “globbing” but only limited wildcard behavior, or do I miss something important?