Project

General

Profile

Actions

Bug #4781

closed

Engrish in comment in Regexp#=~

Added by sawa (Tsuyoshi Sawada) almost 13 years ago. Updated almost 12 years ago.

Status:
Closed
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.

Actions #1

Updated by naruse (Yui NARUSE) almost 13 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]
Actions

Also available in: Atom PDF

Like0
Like0