build: use literal regexp for loopback address matching