aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Stollsteimer <sto.mar@web.de>2019-12-24 16:57:30 +0100
committerMarcus Stollsteimer <sto.mar@web.de>2019-12-24 16:57:30 +0100
commit3679023df822d8bf3f88b9b2e4b849318d2c409e (patch)
tree87c501d113ea1cbd4bb3ca5a50a3f2dc5639cd55
parent8c017824c8eeffe11070ce69c914725af314d9f6 (diff)
downloadruby-3679023df822d8bf3f88b9b2e4b849318d2c409e.tar.gz
[DOC] Fix typo and language
-rw-r--r--doc/regexp.rdoc6
1 files 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: <tt>\\\\</tt>.
/1 \+ 2 = 3\?/.match('Does 1 + 2 = 3?') #=> #<MatchData "1 + 2 = 3?">
/a\\\\b/.match('a\\\\b') #=> #<MatchData "a\\b">
-Patterns behave like double-quoted strings so can contain the same
-backslash escapes (the meaning of <tt>\s</tt> 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 <tt>\s</tt> is different, however,
+see below[#label-Character+Classes]).
/\s\u{6771 4eac 90fd}/.match("Go to 東京都")
#=> #<MatchData " 東京都">