diff options
| author | Jack Nagel | 2014-05-03 14:56:10 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-05-03 15:03:22 -0500 |
| commit | a5c2ee82b0aa4d19a5deb55888a71c5c6f0ca6d5 (patch) | |
| tree | 7b24e918145acafcebdfaf55f6824a56c8d30679 /Library/Homebrew/test | |
| parent | 633ae75d9576bff80b7755d93850e91ea92d18db (diff) | |
| download | homebrew-a5c2ee82b0aa4d19a5deb55888a71c5c6f0ca6d5.tar.bz2 | |
The \w character class already includes underscore
Newer versions of Ruby issue a warning for repeated character classes.
Diffstat (limited to 'Library/Homebrew/test')
| -rw-r--r-- | Library/Homebrew/test/testing_env.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/testing_env.rb b/Library/Homebrew/test/testing_env.rb index 269fc7445..64f1ccfd3 100644 --- a/Library/Homebrew/test/testing_env.rb +++ b/Library/Homebrew/test/testing_env.rb @@ -27,7 +27,7 @@ HOMEBREW_WWW = 'http://example.com' HOMEBREW_CURL_ARGS = '-fsLA' HOMEBREW_VERSION = '0.9-test' -HOMEBREW_TAP_FORMULA_REGEX = %r{^([\w_-]+)/([\w_-]+)/([\w_-]+)$} +HOMEBREW_TAP_FORMULA_REGEX = %r{^([\w-]+)/([\w-]+)/([\w-]+)$} RUBY_BIN = Pathname.new(RbConfig::CONFIG['bindir']) RUBY_PATH = RUBY_BIN + RbConfig::CONFIG['ruby_install_name'] + RbConfig::CONFIG['EXEEXT'] |
