# File lib/chef/util/file_edit.rb, line 41 def search_file_replace_line(regex, newline) search_match(regex, newline, 'r', 1) end