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/branches/ruby_1_8_6@13180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
48f695119c
commit
c467fe9efb
3 changed files with 7 additions and 2 deletions
|
|
@ -1,3 +1,8 @@
|
|||
Wed Aug 22 10:23:01 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* lib/base64.rb (Base64::b64encode): should not specify /o option
|
||||
for regular expression. [ruby-dev:31221]
|
||||
|
||||
Wed Aug 22 10:20:32 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* sprintf.c (rb_f_sprintf): more checks for format argument.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
#define RUBY_RELEASE_DATE "2007-08-22"
|
||||
#define RUBY_VERSION_CODE 186
|
||||
#define RUBY_RELEASE_CODE 20070822
|
||||
#define RUBY_PATCHLEVEL 66
|
||||
#define RUBY_PATCHLEVEL 67
|
||||
|
||||
#define RUBY_VERSION_MAJOR 1
|
||||
#define RUBY_VERSION_MINOR 8
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue