SIGN IN SIGN UP

fix(@angular/ssr): remove stateful flag from URL_PARAMETER_REGEXP

Removes the stateful `/g` flag from `URL_PARAMETER_REGEXP`. Previously, calling `.test()` on the global regular expression advanced its internal `lastIndex` property. This caused subsequent evaluations in the route extraction pipeline to silently fail to match, skipping `getPrerenderParams` for parameterized routes.

Closes #33154
A
Alan Agius committed
0fdcde5426c6b61a55f494077e71ecead08dd04d
Parent: 8b2b828
Committed by Alan Agius <alan.agius4@gmail.com> on 5/12/2026, 6:11:50 PM