Wouldn't the regex happily replace "limit=5" or any other numeric querystring param? Why not change it to `/offset=\d+/`?