updated closure regex again