mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Remove unnecessary captures in otool regexp
This commit is contained in:
parent
ce19fa2223
commit
f4e23b2227
@ -46,7 +46,7 @@ module ArchitectureListExtension
|
|||||||
end
|
end
|
||||||
|
|
||||||
module MachO
|
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:
|
# Mach-O binary methods, see:
|
||||||
# /usr/include/mach-o/loader.h
|
# /usr/include/mach-o/loader.h
|
||||||
|
Loading…
x
Reference in New Issue
Block a user