# File lib/chef/util/file_edit.rb, line 71 def insert_line_if_no_match(regex, newline) search_match(regex, newline, 'i', 2) end