* 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:
parent
abfb7b35a2
commit
368cecc151
@ -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>
|
Sat Jul 20 17:46:03 2013 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
* string.c (rb_str_succ): add missing case NEIGHBOR_WRAPPED.
|
* string.c (rb_str_succ): add missing case NEIGHBOR_WRAPPED.
|
||||||
|
@ -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
|
||||||
/(b|a+)*\/ =~ s #=> 0
|
/(b|a+)*/ =~ s #=> 0
|
||||||
|
|
||||||
However, the following pattern takes appreciably longer:
|
However, the following pattern takes appreciably longer:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user