anchor.diff:      case Msg of
           % explicit command to fetch a web page title
           {in, Ref, [_Nick, _Name, <<"PRIVMSG">>, <<"#",Channel/binary>>, <<"!t ", Text/binary>>]} ->
  -            case ircbot_lib:url_match(Text) of
  -                {match, [Url]} ->
  -                    fetch(Url, Ref, <<"#",Channel/binary>>);
  -                _ -> ok
  -            end,
  +            fetch(trim(Text), Ref, <<"#",Channel/binary>>),
               {ok, State};
           {in, Ref, [_Nick, _Name, <<"PRIVMSG">>, <<"#",Channel/binary>>, <<"!т ", Text/binary>>]} ->
  -            case ircbot_lib:url_match(Text) of
  -                {match, [Url]} ->
  -                    fetch(Url, Ref, <<"#",Channel/binary>>);
  -                _ -> ok
  -            end,
  +            fetch(trim(Text), Ref, <<"#",Channel/binary>>),
               {ok, State};
            {in, Ref, [_Nick, _Name, <<"PRIVMSG">>, <<"#",Channel/binary>>, <<"!title ", Text/binary>>]} ->
               case ircbot_lib:url_match(Text) of
  
positive.code:     end.
  
  
  sanitize_url(Url) when is_binary(Url) ->
      sanitize_url(erlang:binary_to_list(Url));
  
  sanitize_url(Url) when is_list(Url) ->
      Url1 = string:strip(Url),
      case {lists:prefix("http://", Url1),lists:prefix("https://", Url1)} of
          {false, false} ->
              lists:append("http://", Url1);
          _ ->
              Url1
      end.
  
negative.code:             hackney:close(Ref),
              Tree = mochiweb_html:parse(Body),
              [{_, _, Title}|_] = mochiweb_xpath:execute("//title",Tree),
              _Title = re:replace(Title, "\\s+", " ", [global,{return, binary}]);
          _ ->
              hackney:close(Ref),
              N = list_to_binary(integer_to_list(StatusCode)),
  