From: "drbrain (Eric Hodel)" Date: 2012-06-09T05:41:27+09:00 Subject: [ruby-core:45520] [ruby-trunk - Bug #6529][Assigned] missing words in description of =~ operator for Regexp Issue #6529 has been updated by drbrain (Eric Hodel). Category set to DOC Status changed from Open to Assigned Assignee set to drbrain (Eric Hodel) ---------------------------------------- Bug #6529: missing words in description of =~ operator for Regexp https://bugs.ruby-lang.org/issues/6529#change-27105 Author: nathanst (Nathan Stratton Treadway) Status: Assigned Priority: Normal Assignee: drbrain (Eric Hodel) Category: DOC Target version: ruby -v: 1.9.3 Currently the Regexp class documentation contains the following: "=~ is Ruby's basic pattern-matching operator. When one operand is a regular expression and is a string (this operator is equivalently defined by Regexp and String). If a match is found [...]" "and is a string" seems to have be missing a word or two....would it make sense to change that second sentence to something like the following?: "When one operand is a regular expression and the other is a string, then the regexp is used as a pattern to match against the string. (This operator is equivalently defined by Regexp and String, and order in which the operands appear does not matter.) If a match is found [...]" -- http://bugs.ruby-lang.org/