diff options
| author | Jack Nagel | 2014-05-03 14:56:10 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-05-03 15:03:22 -0500 |
| commit | d8c15c8fbf59ff3f21dcc1004d8e7cf0d3813cf4 (patch) | |
| tree | db2453797d5e09d02d67f41d1395ae0fb4a49940 /Library/Homebrew/test/testing_env.rb | |
| parent | 61dd796f255290b24f965d885e31ae433a4811ce (diff) | |
| download | brew-d8c15c8fbf59ff3f21dcc1004d8e7cf0d3813cf4.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/testing_env.rb')
| -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'] |
