Skip to content

Commit 18c828d

Browse files
committed
[DOC] Fix quote in the example
The character in the example is U+0022 QUOTATION MARK, not U+201C LEFT DOUBLE QUOTATION MARK.
1 parent 8a70478 commit 18c828d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/_regexp.rdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ Analysis:
713713

714714
1. The leading subexpression <tt>"</tt> in the pattern matches the first character
715715
<tt>"</tt> in the target string.
716-
2. The next subexpression <tt>.*</tt> matches the next substring <tt>Quote</tt>
716+
2. The next subexpression <tt>.*</tt> matches the next substring <tt>Quote"</tt>
717717
(including the trailing double-quote).
718718
3. Now there is nothing left in the target string to match
719719
the trailing subexpression <tt>"</tt> in the pattern;

0 commit comments

Comments
 (0)