let . match newlines in head regexp