HEX
Server: Apache
System: Linux vps-cdc32557.vps.ovh.ca 5.15.0-156-generic #166-Ubuntu SMP Sat Aug 9 00:02:46 UTC 2025 x86_64
User: hanode (1017)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //usr/share/ri/3.0.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"Fnumber of capture group (parentheses).  Never rely on its 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