Modified admin URL regex to allow for optional trailing slash