Here you lose the flag forever. What does a pattern like `foo/**/bar/*/baz` do? It should not match `foo/other/stuff/bar/more/stuff/baz`.

This is admittedly pretty esoteric, though.