module Bundler::URI

def self.regexp(schemes = nil)


end
p $&
html_string.scan(Bundler::URI.regexp) do |*matches|
# You should not rely on the number of parentheses

html_string.sub(Bundler::URI.regexp(['ftp']), '')
# remove ftp URIs

html_string.slice(Bundler::URI.regexp)
# extract first Bundler::URI from html_string

require 'bundler/vendor/uri/lib/uri'

== Usage

number of capture group (parentheses). Never rely on its number.
The Regexp object returned by this method includes arbitrary
Returns a Regexp object which matches to Bundler::URI-like strings.

== Description

whose scheme is one of the match_schemes.
Array of schemes. If given, resulting regexp matches to URIs
+match_schemes+::

== Args

Bundler::URI::regexp([match_schemes])

== Synopsis
def self.regexp(schemes = nil)
  warn "Bundler::URI.regexp is obsolete", uplevel: 1 if $VERBOSE
  DEFAULT_PARSER.make_regexp(schemes)
end