Only compile the ERE once, rather than on any file. Found and suggested by Christian Neukirchen (@chneukirchen).