diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-07-16 15:47:16 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-07-16 15:47:16 +0000 |
commit | 8c3546c7441897721453866342828d91aba63b32 (patch) | |
tree | 53c053bfe4111447373b8a2572dd9e7f43a2f02e /lib/base64.rb | |
parent | 8af410bdb530e5fc98b0703e6ad5c9d5a4145340 (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@12807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/base64.rb')
-rw-r--r-- | lib/base64.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base64.rb b/lib/base64.rb index 05be9ddf78..8628d611b2 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 |