Regexp
ruby/spec describes 27 methods in core/regexp, and Metorex implements 27 of them. The parameters are what Method#parameters answers under Metorex.
Regexp#==: implemented, parameters[[:req]]. Returnstrueifobjectis another Regexp whose pattern, flags, and encoding are the same asself,falseotherwise:Regexp#===: implemented, parameters[[:req]]. Returnstrueifselffinds a match instring:Regexp#=~: implemented, parameters[[:req]]. Returns the integer index (in characters) of the first match forselfandstring, ornilif none; also sets the Regexp global variables:Regexp#casefold?: implemented, parameters[]. Returnstrueif the case-insensitivity flag inselfis set,falseotherwise: An example calling it.Regexp.compile: implemented, parameters[[:req, :args]]. Alias for Regexp.newRegexp#encoding: implemented, parameters[]. Returns an Encoding object that represents the encoding ofself; see Encodings. An example calling it.Regexp#eql?: implemented, parameters[[:req]]. Returnstrueifobjectis another Regexp whose pattern, flags, and encoding are the same asself,falseotherwise: An example calling it.Regexp.escape: implemented, parameters[[:req, :args]]. Returns a new string that escapes any characters that have special meaning in a regular expression: An example calling it.Regexp#fixed_encoding?: implemented, parameters[]. Returnsfalseifselfis applicable to a string with any ASCII-compatible encoding; otherwise returnstrue:Regexp#hash: implemented, parameters[]. Returns the integer hash value forself. An example calling it.Regexp#initialize: implemented, parameters[[:opt, :source], [:opt, :options], [:key, :timeout]]. An example calling it.Regexp#inspect: implemented, parameters[]. Returns a nicely-formatted string representation ofself: An example calling it.Regexp.last_match: implemented, parameters[[:req, :args]]. With no argument, returns the value of$~, which is the result of the most recent pattern match (see Regexp global variables): An example calling it.Regexp.linear_time?: implemented, parameters[[:req, :pattern], [:opt, :options]]. Returnstrueif matching againstrecan be done in linear time to the input string. An example calling it.Regexp#match: implemented, parameters[[:rest, :_arguments]]. With no block given, returns the MatchData object that describes the match, if any, ornilif none; the search begins at the given characteroffsetinstring: An example calling it.Regexp#match?: implemented, parameters[[:rest, :_arguments]]. Returnstrueorfalseto indicate whether the regexp is matched or not without updating $~ and other related variables. An example calling it.Regexp#named_captures: implemented, parameters[]. Returns a hash representing named captures ofself(see Named Captures): An example calling it.Regexp#names: implemented, parameters[]. Returns an array of names of captures (see Named Captures): An example calling it.Regexp.new: implemented, parameters[[:rest]]. With argumentstringgiven, returns a new regexp with the given string and options: An example calling it.Regexp#options: implemented, parameters[]. Returns an integer whose bits show the options set inself. An example calling it.Regexp.quote: implemented, parameters[[:req, :args]]. Returns a new string that escapes any characters that have special meaning in a regular expression: An example calling it.Regexp#source: implemented, parameters[]. Returns the original string ofself: An example calling it.Regexp.timeout: implemented, parameters[]. It returns the current default timeout interval for Regexp matching in second. An example calling it.Regexp#to_s: implemented, parameters[]. Returns a string showing the options and string ofself: An example calling it.Regexp.try_convert: implemented, parameters[[:req, :held]]. Returnsobjectif it is a regexp: An example calling it.Regexp.union: implemented, parameters[[:req, :args]]. Returns a new regexp that is the union of the given patterns: An example calling it.Regexp#~: implemented, parameters[]. Equivalent torxp =~ $_:
The method summaries are the first sentences of Ruby's own documentation for each method, read from MRI 4.0.6's ri data. Ruby's documentation is distributed under Ruby's license.