From b73e087dbc91cf47ebff79e5eaa7a8ab2795a5e0 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Thu, 9 Nov 2023 16:37:03 +0900 Subject: [PATCH] [DOC] Fix typos --- doc/regexp.rdoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/regexp.rdoc b/doc/regexp.rdoc index c797c782f1..6b4b435746 100644 --- a/doc/regexp.rdoc +++ b/doc/regexp.rdoc @@ -765,7 +765,7 @@ See {Subexpression calls}[https://learnbyexample.github.io/Ruby_Regexp/groupings The conditional construct takes the form (?(_cond_)_yes_|_no_), where: - _cond_ may be a capture number or name. -- The match to be applied is _yes_ if_cond_ is captured; +- The match to be applied is _yes_ if _cond_ is captured; otherwise the match to be applied is _no_. - If not needed, |_no_ may be omitted. @@ -902,7 +902,7 @@ Punctation: - {Pe, Close_Punctuation}[https://www.compart.com/en/unicode/category/Pe]. - {Pf, Final_Punctuation}[https://www.compart.com/en/unicode/category/Pf]. - {Pi, Initial_Punctuation}[https://www.compart.com/en/unicode/category/Pi]. -- {Po, Open_Punctuation}[https://www.compart.com/en/unicode/category/Po]. +- {Po, Other_Punctuation}[https://www.compart.com/en/unicode/category/Po]. - {Ps, Open_Punctuation}[https://www.compart.com/en/unicode/category/Ps]. - +S+, +Symbol+: +Sc+, +Sk+, +Sm+, or +So+.