Public Instance Methods| docs.ruby-lang.org
Regular expressions (regexps) are patterns which describe the contents of a string. They’re used for testing whether a string contains a given pattern, or extracting the portions that match. They are created with the /pat/ and %r{pat} literals or the Regexp.new constructor.| docs.ruby-lang.org
Public Instance Methods| docs.ruby-lang.org
An Array is an ordered, integer-indexed collection of objects, called elements. Any object (even another array) may be an array element, and an array can contain objects of different types.| docs.ruby-lang.org