]> xenbits.xensource.com Git - libvirt.git/commit
check-spacing: rewrite regex for checking the closing parenthesis
authorJán Tomko <jtomko@redhat.com>
Tue, 14 Jun 2016 16:27:24 +0000 (18:27 +0200)
committerJán Tomko <jtomko@redhat.com>
Wed, 15 Jun 2016 13:47:32 +0000 (15:47 +0200)
commitcdf84bf1a80148e4a4e62d113b82863df8bddfc3
tree83ae9d7dc763d9fa19f763b32d370d0a71effdf2
parentb953e163ad12602c0046cb3600fcd1eb6fec4862
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.
build-aux/check-spacing.pl