From e4b68ab700b1e8fea162a63ea3c6e856442cc740 Mon Sep 17 00:00:00 2001
From: Ulysses Zhan <2938747508@qq.com>
Date: Thu, 22 Jul 2021 13:10:57 +0800
Subject: [DOC] Fixed the description of regexp alternations [ci skip]
---
doc/regexp.rdoc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'doc')
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") #=> #
--
cgit v1.2.3