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
commitfaa7a670fa7b6b73d98ba83effedbb1b70328659 (patch)
treef287cd26266622fcc855ccde2ba0e5b3d2f0d4f2 /Library
parent6c037c693b38e33171bbd74712e23f8413b73451 (diff)
downloadhomebrew-faa7a670fa7b6b73d98ba83effedbb1b70328659.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