Someone
public ruby v1 · immutableany ideas on why this returns all the html up until what i want?#!/usr/bin/rubyrequire 'open-uri'require 'cgi'url = CGI::escape(ARGV[0])open( "http://www.htmlref.com" ) { |html| text = html.read text.scan /^<a href="(reference\/app.\/.+)">#{ARGV[0]}<\/a>/m do |url| puts url end}