# File lib/specinfra/command/base/file.rb, line 79 def check_contains_with_regexp(file, expected_pattern) "grep -qs -- #{escape(expected_pattern)} #{escape(file)}" end