From b8903f88f43b8dfa6e6bc0194182fffb83c07eb2 Mon Sep 17 00:00:00 2001 From: drbrain Date: Tue, 24 Jul 2012 21:54:50 +0000 Subject: * doc/re.rdoc: Fix spelling git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- doc/re.rdoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/re.rdoc b/doc/re.rdoc index b912ca1d32..1c68533a8d 100644 --- a/doc/re.rdoc +++ b/doc/re.rdoc @@ -250,7 +250,7 @@ quantified as one atomic whole. The (?:...) construct provides grouping without capturing. That is, it combines the terms it contains into an atomic whole without creating a backreference. This benefits performance at the slight -expense of readabilty. +expense of readability. # The group of parentheses captures 'n' and the second 'ti'. The # second group is referred to later with the backreference \2 @@ -271,7 +271,7 @@ it matches becomes fixed for the remainder of the match, unless the entire subexpression must be abandoned and subsequently revisited. In this way pat is treated as a non-divisible whole. Atomic grouping is typically used to optimise patterns so as to prevent the regular -expression engine from backtracking needlesly. +expression engine from backtracking needlessly. # The " in the pattern below matches the first character of # the string, then .* matches Quote". This causes the @@ -594,7 +594,7 @@ Example: $+ #=> "c" # same as m[-1] -These global variables are thread-local and method-local varaibles. +These global variables are thread-local and method-local variables. == Performance -- cgit v1.2.3