summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-20 13:34:34 +0000
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-20 13:34:34 +0000
commit368cecc1517ba2a09b0413eeaf5c3ba9981de4db (patch)
tree305af78abc9e492cd73f5d4e026e5bed6a7c6c1f
parentabfb7b35a24a19d5057c75246bae1300303eaaef (diff)
* doc/regexp.rdoc: [DOC] Fix typo in example [Fixes GH-365]
Patch by Juanito Fatas https://github.com/ruby/ruby/pull/365 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--doc/regexp.rdoc2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 478658a1c6..0330d09acd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sat Jul 20 22:33:13 2013 Zachary Scott <e@zzak.io>
+
+ * doc/regexp.rdoc: [DOC] Fix typo in example [Fixes GH-365]
+ Patch by Juanito Fatas https://github.com/ruby/ruby/pull/365
+
Sat Jul 20 17:46:03 2013 NARUSE, Yui <naruse@ruby-lang.org>
* string.c (rb_str_succ): add missing case NEIGHBOR_WRAPPED.
diff --git a/doc/regexp.rdoc b/doc/regexp.rdoc
index 1c68533a8d..9263e229d8 100644
--- a/doc/regexp.rdoc
+++ b/doc/regexp.rdoc
@@ -611,7 +611,7 @@ The following patterns match instantly as you would expect:
/(b|a)/ =~ s #=> 0
/(b|a+)/ =~ s #=> 0
- /(b|a+)*\/ =~ s #=> 0
+ /(b|a+)*/ =~ s #=> 0
However, the following pattern takes appreciably longer: