Closed y-yagi closed 2 years ago
URI.regexp is obsolete now.
URI.regexp
$ ruby -w -e 'require "net/http"; URI.regexp' -e:1: warning: URI.regexp is obsolete
This changed to use URI::DEFAULT_PARSER.make_regexp that use inside URI.regexp instead of URI.regexp. https://github.com/ruby/uri/blob/6bc8f666219e519c1001673c15adab5182ff05ef/lib/uri/common.rb#L294-L297
URI::DEFAULT_PARSER.make_regexp
Thanks for the fix!
URI.regexp
is obsolete now.This changed to use
URI::DEFAULT_PARSER.make_regexp
that use insideURI.regexp
instead ofURI.regexp
. https://github.com/ruby/uri/blob/6bc8f666219e519c1001673c15adab5182ff05ef/lib/uri/common.rb#L294-L297