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 | 028767853afb4705b08d0463803e9a03999c0f31 (patch) | |
| tree | 7855b9586b5abb326da25eda3d772616662de781 /lib/net | |
| parent | fd0f92143bb25c6916a3e1bae246f5ebd4b25607 (diff) | |
| download | ruby-028767853afb4705b08d0463803e9a03999c0f31.tar.gz ruby-028767853afb4705b08d0463803e9a03999c0f31.tar.xz ruby-028767853afb4705b08d0463803e9a03999c0f31.zip | |
* lib/net/imap.rb: allow extra spaces in responses.
Thanks, Tom Soderlund.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net')
| -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 5323b9333..21f85bf57 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%*"\\\[\]+]+)|\ |
