diff options
author | Burdette Lamar <[email protected]> | 2023-06-20 08:28:21 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2023-06-20 09:28:21 -0400 |
commit | 932dd9f10e684fa99b059054fbc934607d85b45a (patch) | |
tree | d6324bbcd2eeba6eb8a69af68235235551f9ca98 /string.c | |
parent | 6be402e172a537000de58a28af389cb55dd62ec8 (diff) |
[DOC] Regexp doc (#7923)
Notes
Notes:
Merged-By: peterzhu2118 <[email protected]>
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -4348,7 +4348,7 @@ rb_str_byterindex_m(int argc, VALUE *argv, VALUE str) * 'foo' =~ /o/ # => 1 * 'foo' =~ /x/ # => nil * - * Note: also updates Regexp@Special+global+variables. + * Note: also updates Regexp@Global+Variables. * * If the given +object+ is not a \Regexp, returns the value * returned by <tt>object =~ self</tt>. @@ -4390,7 +4390,7 @@ static VALUE get_pat(VALUE); * * Returns a \MatchData object (or +nil+) based on +self+ and the given +pattern+. * - * Note: also updates Regexp@Special+global+variables. + * Note: also updates Regexp@Global+Variables. * * - Computes +regexp+ by converting +pattern+ (if not already a \Regexp). * regexp = Regexp.new(pattern) @@ -4439,7 +4439,7 @@ rb_str_match_m(int argc, VALUE *argv, VALUE str) * * Returns +true+ or +false+ based on whether a match is found for +self+ and +pattern+. * - * Note: does not update Regexp@Special+global+variables. + * Note: does not update Regexp@Global+Variables. * * Computes +regexp+ by converting +pattern+ (if not already a \Regexp). * regexp = Regexp.new(pattern) |