aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/tap_constants.rb
diff options
context:
space:
mode:
authorMike McQuaid2016-09-04 14:14:07 +0100
committerGitHub2016-09-04 14:14:07 +0100
commit201abcc8dbcdfd4366a97e2dd7cdc9a444686602 (patch)
tree2c2a45b9ede6d8e7d66220fa5493b2a1a9bd1ad9 /Library/Homebrew/tap_constants.rb
parentd1087a545b7ddcefcc68c6c4d2405e81898e4707 (diff)
parent0c44ce2a38d42876d02275b4db719930860beb03 (diff)
downloadbrew-201abcc8dbcdfd4366a97e2dd7cdc9a444686602.tar.bz2
Merge pull request #868 from MikeMcQuaid/tap-constants-at
tap_constants: allow formulae to have @ in name.
Diffstat (limited to 'Library/Homebrew/tap_constants.rb')
-rw-r--r--Library/Homebrew/tap_constants.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/tap_constants.rb b/Library/Homebrew/tap_constants.rb
index 3eb319747..12de02f49 100644
--- a/Library/Homebrew/tap_constants.rb
+++ b/Library/Homebrew/tap_constants.rb
@@ -1,5 +1,5 @@
# match taps' formulae, e.g. someuser/sometap/someformula
-HOMEBREW_TAP_FORMULA_REGEX = %r{^([\w-]+)/([\w-]+)/([\w+-.]+)$}
+HOMEBREW_TAP_FORMULA_REGEX = %r{^([\w-]+)/([\w-]+)/([\w+-.@]+)$}
# match taps' directory paths, e.g. HOMEBREW_LIBRARY/Taps/someuser/sometap
HOMEBREW_TAP_DIR_REGEX = %r{#{Regexp.escape(HOMEBREW_LIBRARY.to_s)}/Taps/([\w-]+)/([\w-]+)}
# match taps' formula paths, e.g. HOMEBREW_LIBRARY/Taps/someuser/sometap/someformula