On Wed, Nov 20, 2019 at 07:32:44PM +0100, Ján Tomko wrote:
Running regular expressions with capture groups is expensive.
Bail out early if the line does not start with a '#'.
This reduces the runtime of the check by two thirds.
Signed-off-by: Ján Tomko <jtomko(a)redhat.com>
---
Reviewed-by: Erik Skultety <eskultet(a)redhat.com>