Skip to content
Snippets Groups Projects
Commit 3be56aee authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #1895 from xu-cheng/bottle

bottle: fix regex
parents 6f305ad3 22f294af
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment