Include line numbers in extraction results