ok, I've added `\s*` before the `$` too