Merge pull request #1895 from xu-cheng/bottle

bottle: fix regex
This commit is contained in:
Mike McQuaid 2017-01-23 07:51:23 +00:00 committed by GitHub
commit 3be56aee71

View File

@ -443,7 +443,7 @@ module Homebrew
(\n^\ {3}[\S\ ]+$)* # options can be in multiple lines
)?|
(homepage|desc|sha1|sha256|version|mirror)\ ['"][\S\ ]+['"]| # specs with a string
rebuild\ \d+ # rebuild with a number
revision\ \d+ # revision with a number
)\n+ # multiple empty lines
)+
/mx, '\0' + output + "\n"