cmd/aspell-dictionaries: fix brew style.
parent
de8e4629cb
commit
fccbd331ad
|
@ -26,8 +26,8 @@ module Homebrew
|
||||||
|
|
||||||
URI.parse("#{dict_url}/0index.html").open do |content|
|
URI.parse("#{dict_url}/0index.html").open do |content|
|
||||||
content.each_line do |line|
|
content.each_line do |line|
|
||||||
break if %r{^</table}.match?(line)
|
break if line.start_with?("</table")
|
||||||
next unless /^<tr><td><a/.match?(line)
|
next unless line.start_with?("<tr><td><a/")
|
||||||
|
|
||||||
fields = line.split('"')
|
fields = line.split('"')
|
||||||
lang = fields[1]
|
lang = fields[1]
|
||||||
|
|
Loading…
Reference in New Issue