ver_linux: Assign constant RE to variable name for clarity
authorAlexander Kapshuk <alexander.kapshuk@gmail.com>
Sat, 5 Jan 2019 17:09:23 +0000 (19:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jan 2019 12:34:35 +0000 (13:34 +0100)
commit2ca46ed207d5d4e3c7a183fe11e8a2d02f86e7c6
tree74ee264317a24e7bfbad66c327380462f28e286d
parentd7ac3c6ef5d8ce14b6381d52eb7adafdd6c8bb3c
ver_linux: Assign constant RE to variable name for clarity

The regular expression that matches the version number of a utility
being queried is used as a constant expression in the current
implementation. Assigning the RE in question to a variable gives it a
meaningful name that clearly expresses the intended use of the expression
without having to think about the details of implementation.

Signed-off-by: Alexander Kapshuk <alexander.kapshuk@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
scripts/ver_linux