Skip to content

Commit fccbd33

Browse files
committed
cmd/aspell-dictionaries: fix brew style.
1 parent de8e462 commit fccbd33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/aspell-dictionaries.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ def aspell_dictionaries
2626

2727
URI.parse("#{dict_url}/0index.html").open do |content|
2828
content.each_line do |line|
29-
break if %r{^</table}.match?(line)
30-
next unless /^<tr><td><a/.match?(line)
29+
break if line.start_with?("</table")
30+
next unless line.start_with?("<tr><td><a/")
3131

3232
fields = line.split('"')
3333
lang = fields[1]

0 commit comments

Comments
 (0)