X7ROOT File Manager
Current Path:
/opt/alt/ruby18/share/ri/1.8/system/Regexp
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Regexp
/
📄
%26-i.yaml
(163 B)
📄
%3d%3d%3d-i.yaml
(659 B)
📄
%3d%3d-i.yaml
(581 B)
📄
%3d%7e-i.yaml
(542 B)
📄
%7c-i.yaml
(163 B)
📄
%7e-i.yaml
(427 B)
ðŸ“
..
📄
casefold%3f-i.yaml
(291 B)
📄
cdesc-Regexp.yaml
(1.83 KB)
📄
compile-c.yaml
(239 B)
📄
eql%3f-i.yaml
(585 B)
📄
escape-c.yaml
(593 B)
📄
hash-i.yaml
(294 B)
📄
inspect-i.yaml
(492 B)
📄
kcode-i.yaml
(268 B)
📄
last_match-c.yaml
(797 B)
📄
match-i.yaml
(548 B)
📄
new-c.yaml
(1.35 KB)
📄
options-i.yaml
(1023 B)
📄
quote-c.yaml
(591 B)
📄
source-i.yaml
(356 B)
📄
to_s-i.yaml
(1022 B)
📄
to_yaml-i.yaml
(179 B)
📄
union-c.yaml
(1.04 KB)
📄
yaml_new-c.yaml
(187 B)
Editing: union-c.yaml
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return a <tt>Regexp</tt> object that is the union of the given <em>pattern</em>s, i.e., will match any of its parts. The <em>pattern</em>s can be Regexp objects, in which case their options will be preserved, or Strings. If no patterns are given, returns <tt>/(?!)/</tt>. - !ruby/struct:SM::Flow::VERB body: " Regexp.union #=> /(?!)/\n Regexp.union("penzance") #=> /penzance/\n Regexp.union("a+b*c") #=> /a+b*c/\n Regexp.union("skiing", "sledding") #=> /skiing|sledding/\n Regexp.union(["skiing", "sledding"]) #=> /skiing|sledding/\n Regexp.union(/dogs/, /cats/i) #=> /(?-mix:dogs)|(?i-mx:cats)/\n" full_name: Regexp::union is_singleton: true name: union params: | Regexp.union(pat1, pat2, ...) => new_regexp Regexp.union(pats_ary) => new_regexp visibility: public
Upload File
Create Folder