check-spacing: rewrite regex for checking the closing parenthesis
Instead of matching multiple characters before the parenthesis, only check for a single whitespace, which is much less cpu-intensive. This only matches a few dozen of places where they are on an separate line, filter out those with a separate regex.
Showing
想要评论请 注册 或 登录