#!/usr/bin/ruby -w
def url_protocol?
r=/^\w{3,5}:\/\//
(self.match r)
end
puts "http://w...content-available-to-author-only...u.pl".url_protocol?
puts "ala ma kota".url_protocol?
IyEvdXNyL2Jpbi9ydWJ5IC13CgpkZWYgdXJsX3Byb3RvY29sPwoJcj0vXlx3ezMsNX06XC9cLy8KCShzZWxmLm1hdGNoIHIpCmVuZAoKCnB1dHMgImh0dHA6Ly93Li4uY29udGVudC1hdmFpbGFibGUtdG8tYXV0aG9yLW9ubHkuLi51LnBsIi51cmxfcHJvdG9jb2w/CnB1dHMgImFsYSBtYSBrb3RhIi51cmxfcHJvdG9jb2w/