# File lib/asciidoctor/helpers.rb, line 147
  def self.uri_prefix str
    (str.include? ':') && str =~ UriSniffRx ? $& : nil
  end