summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-22 01:23:41 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-22 01:23:41 +0000
commitc467fe9efbd1fddffb8ef3ee5e70a127ec19b21e (patch)
tree5b04f3aab9ae54f46dc25c82babc9f3fc0479209 /lib
parent48f695119c6e44851ea39198bd4917745fc0562c (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_6@13180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/base64.rb2
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