mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/base64.rb (Base64::b64encode): should not specify /o option
for regular expression. [ruby-dev:31221] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6c12b69fda
commit
bc8724d05f
3 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
Mon Jul 16 23:07:51 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* lib/base64.rb (Base64::b64encode): should not specify /o option
|
||||
for regular expression. [ruby-dev:31221]
|
||||
|
||||
Mon Jul 16 18:29:33 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* string.c (rb_str_rindex_m): accept string-like object convertible
|
||||
|
|
|
@ -110,7 +110,7 @@ module Base64
|
|||
# UnVieQ==
|
||||
|
||||
def b64encode(bin, len = 60)
|
||||
encode64(bin).scan(/.{1,#{len}}/o) do
|
||||
encode64(bin).scan(/.{1,#{len}}/) do
|
||||
print $&, "\n"
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#define RUBY_VERSION "1.9.0"
|
||||
#define RUBY_RELEASE_DATE "2007-07-16"
|
||||
#define RUBY_RELEASE_DATE "2007-07-17"
|
||||
#define RUBY_VERSION_CODE 190
|
||||
#define RUBY_RELEASE_CODE 20070716
|
||||
#define RUBY_RELEASE_CODE 20070717
|
||||
#define RUBY_PATCHLEVEL 0
|
||||
|
||||
#define RUBY_VERSION_MAJOR 1
|
||||
|
@ -9,7 +9,7 @@
|
|||
#define RUBY_VERSION_TEENY 0
|
||||
#define RUBY_RELEASE_YEAR 2007
|
||||
#define RUBY_RELEASE_MONTH 7
|
||||
#define RUBY_RELEASE_DAY 16
|
||||
#define RUBY_RELEASE_DAY 17
|
||||
|
||||
#ifdef RUBY_EXTERN
|
||||
RUBY_EXTERN const char ruby_version[];
|
||||
|
|
Loading…
Reference in a new issue