Changed the regular to match optional whitespace after and in front of the parenthesees.