From 01d54bc2c7f9baaa86b5444e799f9c00cd9cabe7 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 1 Feb 2012 00:50:17 +0000 Subject: [PATCH] * 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/trunk@34411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ doc/re.rdoc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 2a74b42a33..5a7155f028 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Feb 1 09:50:10 2012 Nobuyoshi Nakada + + * doc/re.rdoc (Repetition): fix typo. reported by Ori Avtalion + and patched by Zachary Scott. [Bug #5947] + Wed Feb 1 06:38:54 2012 Nobuyoshi Nakada * io.c (argf_close): skip stdin, which should be readable again. diff --git a/doc/re.rdoc b/doc/re.rdoc index 602775d95d..4e943571a8 100644 --- a/doc/re.rdoc +++ b/doc/re.rdoc @@ -179,7 +179,7 @@ contrast, lazy matching makes the minimal amount of matches necessary for overall success. A greedy metacharacter can be made lazy by following it with ?. - # 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 ''; the second uses a lazy # quantifier so '.+?' matches ''. /<.+>/.match("") #=> #">