From 6632a4fd4922330751cbb54d875b3701b1f4232f Mon Sep 17 00:00:00 2001 From: Bo Anderson Date: Fri, 10 Jun 2022 20:25:21 +0100 Subject: [PATCH] dev-cmd/extract: strip out old bottle disable reasons --- Library/Homebrew/dev-cmd/extract.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/dev-cmd/extract.rb b/Library/Homebrew/dev-cmd/extract.rb index eb690cc69f..91ade54b16 100644 --- a/Library/Homebrew/dev-cmd/extract.rb +++ b/Library/Homebrew/dev-cmd/extract.rb @@ -64,7 +64,7 @@ module Homebrew module_function - BOTTLE_BLOCK_REGEX = / bottle do.+?end\n\n/m.freeze + BOTTLE_BLOCK_REGEX = / bottle (?:do.+?end|:[a-z]+)\n\n/m.freeze sig { returns(CLI::Parser) } def extract_args