From 22fe80f275f5e8a66d1e38daab1eb663eab79850 Mon Sep 17 00:00:00 2001 From: Carl Zulauf Date: Mon, 4 Aug 2025 08:52:03 -0600 Subject: Fix Typo in Regular Expressions docs (_regexp.rdoc) Small fix for a typo in the regular expression docs. The line of code above this change does not produce the output shown in the docs. With this change the docs will show the correct output for this example of using regex quantifiers. --- doc/_regexp.rdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/_regexp.rdoc b/doc/_regexp.rdoc index 45a307fad6..c9f3742241 100644 --- a/doc/_regexp.rdoc +++ b/doc/_regexp.rdoc @@ -502,7 +502,7 @@ An added _quantifier_ specifies how many matches are required or allowed: /\w*/.match('x') # => # /\w*/.match('xyz') - # => # + # => # - + - Matches one or more times: -- cgit v1.2.3