Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
Bundler
/
URI
/
//opt/alt/ruby27/share/ri/system/Bundler/URI/regexp-c.ri
U:RDoc::AnyMethod[iI"regexp:ETI"Bundler::URI::regexp;TT:privateo:RDoc::Markup::Document:@parts[S:RDoc::Markup::Heading: leveli: textI" Synopsis;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"+Bundler::URI::regexp([match_schemes]) ;T:@format0S; ;i;I" Args;T@ o:RDoc::Markup::List: @type: NOTE:@items[o:RDoc::Markup::ListItem:@label[I"+match_schemes+;T; [o:RDoc::Markup::Paragraph; [I"BArray of schemes. If given, resulting regexp matches to URIs ;TI".whose scheme is one of the match_schemes.;T@ S; ;i;I"Description;T@ o;; [I"IReturns a Regexp object which matches to Bundler::URI-like strings. ;TI"BThe Regexp object returned by this method includes arbitrary ;TI"Gnumber of capture group (parentheses). Never rely on it's number.;T@ S; ;i;I" Usage;T@ o;; [I"*require 'bundler/vendor/uri/lib/uri' ;TI" ;TI"3# extract first Bundler::URI from html_string ;TI",html_string.slice(Bundler::URI.regexp) ;TI" ;TI"# remove ftp URIs ;TI"7html_string.sub(Bundler::URI.regexp(['ftp']), '') ;TI" ;TI"8# You should not rely on the number of parentheses ;TI"9html_string.scan(Bundler::URI.regexp) do |*matches| ;TI" p $& ;TI"end;T;0: @fileI"-lib/bundler/vendor/uri/lib/uri/common.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(schemes = nil);T@4FI"URI;TcRDoc::NormalModule00