I noticed that you shortened the previous `'^\s*@\S\+\s*$'` to `'^\s*@'`. It's not a much large problem, but I would say that the original one may be better at handling this case:

```java
/* This comment is written by
@someone */
```

Your regex should not be able to handle this case.