This will match `"a/b/c.d.ext"` as `d.ext`. I would expect just `ext`.