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

Also available in: Atom PDF

Like0
Like0