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