I think you're right. This function actually should be improved since it's intended to match a closing parenthesis on its own line, e.g.:

```
foo(a,
    b,
    c
) <-- match this form
```

but of course, this will fail if any whitespace, or comments, follow it (which should be accepted)