As of #35213, `PathPatternParser` now supports patterns starting with `/**/resource`. This change introduced a regression where patterns like `/abc**` are parsed as `/**`. Initially reported by @jzheaux, thanks!