diff --git a/Library/Homebrew/dev-cmd/bottle.rb b/Library/Homebrew/dev-cmd/bottle.rb index 9574a1ba91619574ea486979718a79cb079c7aea..fb282e5f80da5b4162dd1f10b9a440131b1522c5 100644 --- a/Library/Homebrew/dev-cmd/bottle.rb +++ b/Library/Homebrew/dev-cmd/bottle.rb @@ -535,6 +535,7 @@ module Homebrew (\n^\ {3}[\S\ ]+$)* # options can be in multiple lines )?| (homepage|desc|sha256|version|mirror|license)\ ['"][\S\ ]+['"]| # specs with a string + (license)\ [^\[]+?\[[^\]]+?\]| # license may contain a list (revision|version_scheme)\ \d+| # revision with a number (stable|livecheck)\ do(\n+^\ {4}[\S\ ]+$)*\n+^\ {2}end # components with blocks )\n+ # multiple empty lines