Fix script so it matches only lines with "^-- $".