diff --git a/doc/regexp.rdoc b/doc/regexp.rdoc index 20e8e3634a..c14a145831 100644 --- a/doc/regexp.rdoc +++ b/doc/regexp.rdoc @@ -69,7 +69,8 @@ a backslash literally, backslash-escape it: \\\\. /a\\\\b/.match('a\\\\b') #=> # Patterns behave like double-quoted strings so can contain the same -backslash escapes. +backslash escapes (the meaning of \s is different a little however, +see bellow[#label-Character+Classes]). /\s\u{6771 4eac 90fd}/.match("Go to 東京都") #=> #