Skip to content
instance method

URI::RFC2396_Parser#make_regexp

(?::Array[::String] schemes) -> ::Regexp
make_regexp(schemes = nil)

Returns Regexp that is default self.regexp[:ABS_URI_REF], unless schemes is provided. Then it is a Regexp.union with self.pattern[:X_ABS_URI].

See also #join #parse #initialize_regexp #split also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0