bottle: new formula license may be a list, not just a string

This commit is contained in:
Dustin Rodrigues 2020-09-23 21:07:56 -04:00
parent 2492216946
commit f41dd1834f

View File

@ -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