Update savr.rb

Fixed code for better handling of inconsistent HREF properties.  Also cleaned up the regular expressions.