diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-08-22 22:03:39 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-08-24 14:35:16 +0900 |
| commit | 18c828d79294ca53b554af257d29789ba9a663e4 (patch) | |
| tree | 1b96b69728a6d042680f41af734b03d7668797cb | |
| parent | 8a704783f87cfc3be44cfa147bb7d79f469db0ff (diff) | |
[DOC] Fix quote in the example
The character in the example is U+0022 QUOTATION MARK, not U+201C LEFT
DOUBLE QUOTATION MARK.
| -rw-r--r-- | doc/_regexp.rdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/_regexp.rdoc b/doc/_regexp.rdoc index c9f3742241..a544aab089 100644 --- a/doc/_regexp.rdoc +++ b/doc/_regexp.rdoc @@ -713,7 +713,7 @@ Analysis: 1. The leading subexpression <tt>"</tt> in the pattern matches the first character <tt>"</tt> in the target string. -2. The next subexpression <tt>.*</tt> matches the next substring <tt>Quote“</tt> +2. The next subexpression <tt>.*</tt> matches the next substring <tt>Quote"</tt> (including the trailing double-quote). 3. Now there is nothing left in the target string to match the trailing subexpression <tt>"</tt> in the pattern; |
