Fix invalid empty line regexp