diff options
author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-09-20 00:45:08 +0000 |
---|---|---|
committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-09-20 00:45:08 +0000 |
commit | 92d28f6b8fd2ca3f0851af4aa02df96b96ff83eb (patch) | |
tree | 7855b9586b5abb326da25eda3d772616662de781 /lib/net/imap.rb | |
parent | d3f545235a00b1ae8f01e4cc9132885411b0bdd8 (diff) | |
download | ruby-92d28f6b8fd2ca3f0851af4aa02df96b96ff83eb.tar.gz |
* lib/net/imap.rb: allow extra spaces in responses.
Thanks, Tom Soderlund.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net/imap.rb')
-rw-r--r-- | lib/net/imap.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/imap.rb b/lib/net/imap.rb index 5323b9333d..21f85bf57c 100644 --- a/lib/net/imap.rb +++ b/lib/net/imap.rb @@ -1785,7 +1785,7 @@ module Net T_TEXT = :TEXT BEG_REGEXP = /\G(?:\ -(?# 1: SPACE )( )|\ +(?# 1: SPACE )( +)|\ (?# 2: NIL )(NIL)(?=[\x80-\xff(){ \x00-\x1f\x7f%*"\\\[\]+])|\ (?# 3: NUMBER )(\d+)(?=[\x80-\xff(){ \x00-\x1f\x7f%*"\\\[\]+])|\ (?# 4: ATOM )([^\x80-\xff(){ \x00-\x1f\x7f%*"\\\[\]+]+)|\ |