Project

General

Profile

Bug #4781

Engrish in comment in Regexp#=~

Added by sawa (Tsuyoshi Sawada) about 8 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
1.9.2
Backport:
[ruby-core:36470]

Description

I see the following grammatical mistakes in ruby-doc, probably reflecting the comments in the source:

Regexp#=~

wrong: The assignment is not occur if the regexp is not a literal.
correct: The assignment does not occur if the regexp is not a literal.

wrong: The assignment is not occur if the regexp is placed at right hand side.
correct: The assignment does not occur if the regexp is placed at the right hand side.

Associated revisions

Revision f7b04698
Added by naruse (Yui NARUSE) about 8 years ago

  • re.c (rb_reg_match): fix rdoc of Regexp#=~. patched by Tsuyoshi Sawada. [Bug #4781]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 31781
Added by naruse (Yui NARUSE) about 8 years ago

  • re.c (rb_reg_match): fix rdoc of Regexp#=~. patched by Tsuyoshi Sawada. [Bug #4781]

Revision 31781
Added by naruse (Yui NARUSE) about 8 years ago

  • re.c (rb_reg_match): fix rdoc of Regexp#=~. patched by Tsuyoshi Sawada. [Bug #4781]

Revision 31781
Added by naruse (Yui NARUSE) about 8 years ago

  • re.c (rb_reg_match): fix rdoc of Regexp#=~. patched by Tsuyoshi Sawada. [Bug #4781]

Revision 31781
Added by naruse (Yui NARUSE) about 8 years ago

  • re.c (rb_reg_match): fix rdoc of Regexp#=~. patched by Tsuyoshi Sawada. [Bug #4781]

Revision 31781
Added by naruse (Yui NARUSE) about 8 years ago

  • re.c (rb_reg_match): fix rdoc of Regexp#=~. patched by Tsuyoshi Sawada. [Bug #4781]

Revision 31781
Added by naruse (Yui NARUSE) about 8 years ago

  • re.c (rb_reg_match): fix rdoc of Regexp#=~. patched by Tsuyoshi Sawada. [Bug #4781]

History

#1

Updated by naruse (Yui NARUSE) about 8 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r31781.
Tsuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • re.c (rb_reg_match): fix rdoc of Regexp#=~. patched by Tsuyoshi Sawada. [Bug #4781]

Also available in: Atom PDF