Hot answers tagged

2 votes

Rewrite URL with one unnecessary parameter

You need to make the "amps" in the URL optional by adding a ? to the regex in the correct spot. Also because regex are greedy, you shouldn't accept slashes in the middle of your URL. Use [^...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible