# File lib/pickle/email.rb, line 53 def parse_email_for_link(email, text_or_regex) url = parse_email_for_explicit_link(email, text_or_regex) url ||= parse_email_for_anchor_text_link(email, text_or_regex) raise "No link found matching #{text_or_regex.inspect} in #{email}" unless url url end