diff options
Diffstat (limited to 'Library/Homebrew/dev-cmd')
| -rw-r--r-- | Library/Homebrew/dev-cmd/aspell-dictionaries.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/dev-cmd/aspell-dictionaries.rb b/Library/Homebrew/dev-cmd/aspell-dictionaries.rb index 16ec91835..cbb88ffe5 100644 --- a/Library/Homebrew/dev-cmd/aspell-dictionaries.rb +++ b/Library/Homebrew/dev-cmd/aspell-dictionaries.rb @@ -14,8 +14,8 @@ module Homebrew open("#{dict_url}/0index.html") do |content| content.each_line do |line| - break if %r{^</table} === line - next unless /^<tr><td><a/ === line + break if %r{^</table} =~ line + next unless /^<tr><td><a/ =~ line fields = line.split('"') lang = fields[1] |
