Here’s the line in question:
[[ (! $MatchLine && (($InvertPrint && ! $line =~ $regex) || (! $InvertPrint && $line =~ $regex)))
|| ($MatchLine && (($InvertPrint && $line != “$regex”) || (! $InvertPrint && $line == “$regex”))) ]]
In the file it’s actually two lines for readability, split as shown.