Ruby 3.1 / URI::RFC2396_Parser#make_regexp
Share this page | Read it later using CloudBreak Wallabag
Returns
Regexpthat is defaultself.regexp[:ABS_URI_REF], unless schemes is provided. Then it is aRegexp.unionwithself.pattern[:X_ABS_URI].
Source: Ruby 3.1 / URI::RFC2396_Parser#make_regexp – DevDocs
Good for identifying URLs.