diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 9a4b0ca0a6..0cf20b75be 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -57,7 +57,7 @@ class FormulaText end def has_DATA? - /\bDATA\b/ =~ @text + /^[^#]*\bDATA\b/ =~ @text end def has_END?