remove ')' from regex comments