mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
d3f545235a
commit
92d28f6b8f
1 changed files with 1 additions and 1 deletions
|
@ -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%*"\\\[\]+]+)|\
|
||||
|
|
Loading…
Reference in a new issue