Skip to content

End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

URI::RFC2396_Parser#make_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 #inspect #split also in 4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.0