diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-15 21:11:46 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-15 21:11:46 +0000 |
commit | 033020007206ce9e6ffa89aa33a092fc88ddd840 (patch) | |
tree | 10ffe2f69675a4f8d9b5e22d069e560181bd41cb | |
parent | 594023fb21b10d583ff0473a2ad6aec662922ec1 (diff) |
* 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_5@13013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/base64.rb | 2 | ||||
-rw-r--r-- | version.h | 2 |
3 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Thu Aug 16 06:11:34 2007 Yukihiro Matsumoto <matz@ruby-lang.org> + + * lib/base64.rb (Base64::b64encode): should not specify /o option + for regular expression. [ruby-dev:31221] + Thu Aug 16 06:08:53 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> * sprintf.c (rb_f_sprintf): more checks for format argument. diff --git a/lib/base64.rb b/lib/base64.rb index 410d76ffcd..d80eb5a570 100644 --- a/lib/base64.rb +++ b/lib/base64.rb @@ -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-16" #define RUBY_VERSION_CODE 185 #define RUBY_RELEASE_CODE 20070816 -#define RUBY_PATCHLEVEL 75 +#define RUBY_PATCHLEVEL 76 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 |