Checks the --exclude-lines-by-pattern flag