From 3679023df822d8bf3f88b9b2e4b849318d2c409e Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Tue, 24 Dec 2019 16:57:30 +0100 Subject: [DOC] Fix typo and language --- doc/regexp.rdoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/regexp.rdoc b/doc/regexp.rdoc index ccf82538b7..d84cae1771 100644 --- a/doc/regexp.rdoc +++ b/doc/regexp.rdoc @@ -68,9 +68,9 @@ a backslash literally, backslash-escape it: \\\\. /1 \+ 2 = 3\?/.match('Does 1 + 2 = 3?') #=> # /a\\\\b/.match('a\\\\b') #=> # -Patterns behave like double-quoted strings so can contain the same -backslash escapes (the meaning of \s is different a little however, -see bellow[#label-Character+Classes]). +Patterns behave like double-quoted strings and can contain the same +backslash escapes (the meaning of \s is different, however, +see below[#label-Character+Classes]). /\s\u{6771 4eac 90fd}/.match("Go to 東京都") #=> # -- cgit v1.2.3