From f4e23b2227d142bc284544aa6ac6a2b15cd40a06 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 14 Dec 2013 09:35:58 -0600 Subject: Remove unnecessary captures in otool regexp --- Library/Homebrew/mach.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Homebrew/mach.rb b/Library/Homebrew/mach.rb index a7a4b1a70..54e65a0a9 100644 --- a/Library/Homebrew/mach.rb +++ b/Library/Homebrew/mach.rb @@ -46,7 +46,7 @@ module ArchitectureListExtension end module MachO - OTOOL_RX = /\t(.*) \(compatibility version (\d+\.)*\d+, current version (\d+\.)*\d+\)/ + OTOOL_RX = /\t(.*) \(compatibility version (?:\d+\.)*\d+, current version (?:\d+\.)*\d+\)/ # Mach-O binary methods, see: # /usr/include/mach-o/loader.h -- cgit v1.2.3