fix the regex for loopback interfaces