regex IP route correction