diff options
| -rw-r--r-- | Library/Homebrew/dev-cmd/bump-formula-pr.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/Library/Homebrew/dev-cmd/bump-formula-pr.rb b/Library/Homebrew/dev-cmd/bump-formula-pr.rb index ca3f4cfe8..7da0f9321 100644 --- a/Library/Homebrew/dev-cmd/bump-formula-pr.rb +++ b/Library/Homebrew/dev-cmd/bump-formula-pr.rb @@ -267,7 +267,7 @@ module Homebrew        end      elsif forced_version && forced_version == "0"        if requested_spec == :stable -        replacement_pairs << [/^  version \"[a-z\d+\.]+\"\n/m, ""] +        replacement_pairs << [/^  version \"[\w\.\-\+]+\"\n/m, ""]        elsif requested_spec == :devel          replacement_pairs << [/(  devel do.+?)^ +version \"[^\n]+\"\n(.+?end\n)/m, "\\1\\2"]        end | 
