added additional \s* for whitespace safety