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 東京都") #=> #