There's an extra `/` here. Right before "projects" there should not be a `/`. That first regex should be: `^/(\w{2,3}(?:-\w{2}(?:-mac)?)?/)?projects/toolkit(/?)$`