The regex could be simplified all the way down to .*

We don't need to capture the matched text (with parens) because we don't use it anywhere.  Instead we output the REQUEST_URI value.