summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-01 00:50:17 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-01 00:50:17 +0000
commiteb40744739ceeb6229411e43219c7720a0316a57 (patch)
tree144e4504fb891a6f3e6193589942e1155dd1df49 /doc
parent74b68db34b52c37a036558b28bda286d39db2b9d (diff)
* doc/re.rdoc (Repetition): fix typo. reported by Ori Avtalion
and patched by Zachary Scott. [Bug #5947] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@34411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'doc')
-rw-r--r--doc/re.rdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/re.rdoc b/doc/re.rdoc
index 0dfd8e5164..04481268c3 100644
--- a/doc/re.rdoc
+++ b/doc/re.rdoc
@@ -153,7 +153,7 @@ contrast, <i>lazy</i> matching makes the minimal amount of matches
necessary for overall success. A greedy metacharacter can be made lazy by
following it with <tt>?</tt>.
- # Both patterns below match the string. The fist uses a greedy
+ # Both patterns below match the string. The first uses a greedy
# quantifier so '.+' matches '<a><b>'; the second uses a lazy
# quantifier so '.+?' matches '<a>'.
/<.+>/.match("<a><b>") #=> #<MatchData "<a><b>">