aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-12-14 09:35:58 -0600
committerJack Nagel2013-12-14 09:35:58 -0600
commitf4e23b2227d142bc284544aa6ac6a2b15cd40a06 (patch)
tree71a209a353fb3282653bdb34bc57e0c98d6a05ee /Library
parentce19fa222361839d2c04986f81ae66c8a8748a61 (diff)
downloadbrew-f4e23b2227d142bc284544aa6ac6a2b15cd40a06.tar.bz2
Remove unnecessary captures in otool regexp
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/mach.rb2
1 files changed, 1 insertions, 1 deletions
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