diff options
| author | Jack Nagel | 2014-07-26 21:02:23 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2014-07-26 21:06:56 -0500 | 
| commit | 90762c2f184926a863e6d0fc3c3ffef6cce94960 (patch) | |
| tree | 516a5540fd887753fb4ca5eb51a027c97b1c8561 /Library/Homebrew/tap_constants.rb | |
| parent | 5b8e564d7053220498ac8430cbffe69cfd5ec986 (diff) | |
| download | brew-90762c2f184926a863e6d0fc3c3ffef6cce94960.tar.bz2 | |
A period is a valid formula name character
Fixes Homebrew/homebrew#31052.
Diffstat (limited to 'Library/Homebrew/tap_constants.rb')
| -rw-r--r-- | Library/Homebrew/tap_constants.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/tap_constants.rb b/Library/Homebrew/tap_constants.rb index 3550a0637..2aed1887d 100644 --- a/Library/Homebrew/tap_constants.rb +++ b/Library/Homebrew/tap_constants.rb @@ -1,7 +1,7 @@  # match expressions when taps are given as ARGS, e.g. someuser/sometap  HOMEBREW_TAP_ARGS_REGEX = %r{^([\w-]+)/(homebrew-)?([\w-]+)$}  # match taps' formula, e.g. someuser/sometap/someformula -HOMEBREW_TAP_FORMULA_REGEX = %r{^([\w-]+)/([\w-]+)/([\w+-]+)$} +HOMEBREW_TAP_FORMULA_REGEX = %r{^([\w-]+)/([\w-]+)/([\w+-.]+)$}  # match taps' directory path, e.g. HOMEBREW_LIBRARY/Taps/someuser/sometap  HOMEBREW_TAP_DIR_REGEX = %r{#{Regexp.escape(HOMEBREW_LIBRARY.to_s)}/Taps/([\w-]+)/([\w-]+)}  # match taps' formula path, e.g. HOMEBREW_LIBRARY/Taps/someuser/sometap/someformula  | 
