summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMSP-Greg <MSP-Greg@users.noreply.github.com>2024-10-28 15:40:52 -0500
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2024-10-29 13:52:22 +0900
commitcd4b45ab1710751ddfe200d92161abf5fec6c62d (patch)
treeb721367a73b88648b8fc2bdb2b784f9eca906bae
parentd5bc4b812a5d523d97e481ad3f91aebe043281dc (diff)
[ruby/strscan] [DOC] doc/strscan/strscan.md - fix triple backtick
(https://github.com/ruby/strscan/pull/112) See current doc, search for '## Target Substring', notice the backtick that isn't visible to the GitHub md parser. https://github.com/ruby/strscan/blob/843e931d134b0a8f0284296250454374e3f8a6aa/doc/strscan/strscan.md Fixed in the PR, see: https://github.com/MSP-Greg/strscan/blob/00-strscan.md/doc/strscan/strscan.md https://github.com/ruby/strscan/commit/041b15df4c
-rw-r--r--doc/strscan/strscan.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/strscan/strscan.md b/doc/strscan/strscan.md
index 465cebd4cb..cb6cbc6ae2 100644
--- a/doc/strscan/strscan.md
+++ b/doc/strscan/strscan.md
@@ -199,7 +199,8 @@ put_situation(scanner)
# pos: 8
# charpos: 6
# rest: "んにちは"
-# rest_size: 12```
+# rest_size: 12
+```
## Target Substring