fix regex to include space in parameter names