diff --git a/doc/regexp.rdoc b/doc/regexp.rdoc index e25f10fc66..5ec64907f5 100644 --- a/doc/regexp.rdoc +++ b/doc/regexp.rdoc @@ -372,8 +372,8 @@ then matches a literal ): == Alternation -The vertical bar metacharacter (|) combines two expressions into -a single one that matches either of the expressions. Each expression is an +The vertical bar metacharacter (|) combines several expressions into +a single one that matches any of the expressions. Each expression is an alternative. /\w(and|or)\w/.match("Feliformia") #=> #