1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
zzak 2013-07-20 13:34:34 +00:00
parent abfb7b35a2
commit 368cecc151
2 changed files with 6 additions and 1 deletions

View file

@ -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.

View file

@ -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: