HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Ruby27-x64/share/ri/2.7.0/system/URI/regexp-c.ri
U:RDoc::AnyMethod[iI"regexp:ETI"URI::regexp;TT:publico:RDoc::Markup::Document:@parts[S:RDoc::Markup::Heading:
leveli:	textI"
Synopsis;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim;	[I""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"@Returns a Regexp object which matches to 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 'uri'
;TI"
;TI"*# extract first URI from html_string
;TI"#html_string.slice(URI.regexp)
;TI"
;TI"# remove ftp URIs
;TI".html_string.sub(URI.regexp(['ftp']), '')
;TI"
;TI"8# You should not rely on the number of parentheses
;TI"0html_string.scan(URI.regexp) do |*matches|
;TI"  p $&
;TI"end;T;0:
@fileI"lib/uri/common.rb;T:0@omit_headings_from_table_of_contents_below000[I"(schemes = nil);T@4FI"URI;TcRDoc::NormalModule00