Created attachment 459452 [details] Mock up of what capture groups might look like in request overrides. Safari Technology Preview's Web Inspector offers "Request Local Overrides", which is particularly useful for routing production requests to a dev server for testing and debugging. This feature is great and almost allays my need to use Charles Proxy. One aspect that seems to be missing is that while you can use regular expression to override the headers on various matching requests (e.g. https://example.com/path.*), using them for redirection is hindered as there is no way to forward query strings that involve a unique IDs to the redirected host. I am thinking that supporting regular expression capture groups in the redirect might be a good solution, especially given regular expression is already being supported. If this is already supported, then I would request updating the documentation on the page below, which details the ability to use regular expressions in overrides, but not capture groups. Thank you. Ya'll are doing a great job.
rdar://73779368
Pull request: https://github.com/WebKit/WebKit/pull/715
Committed r294427 (250709@main): <https://commits.webkit.org/250709@main> Reviewed commits have been landed. Closing PR #715 and removing active labels.