Skip to content
This repository has been archived by the owner on May 16, 2021. It is now read-only.

Commit

Permalink
Use a more robust regexp
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez committed Jan 17, 2019
1 parent b378070 commit d768134
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/chandler/changelog.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def versions_at_headings(heading_re)

def link_references
@link_references ||= text.split("\n")
.select { |line| line =~ /^\[.*\]: .*/ }
.select { |line| line =~ /^\[.*\]: http.*/ }
.join("\n")
end

Expand Down

0 comments on commit d768134

Please sign in to comment.