diff options
| author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-03 12:21:35 +0000 |
|---|---|---|
| committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-03 12:21:35 +0000 |
| commit | 69478e941a5bd38347607ab494b761a419f3dfcb (patch) | |
| tree | 6b7760cb8e9bddf0a348b36f4e4afb124c20ce9b | |
| parent | 680aac7a96af5428d58602a8663c6a383bb1413f (diff) | |
| download | ruby-69478e941a5bd38347607ab494b761a419f3dfcb.tar.gz ruby-69478e941a5bd38347607ab494b761a419f3dfcb.tar.xz ruby-69478e941a5bd38347607ab494b761a419f3dfcb.zip | |
* lib/net/imap.rb (TEXT_REGEXP): allow 8-bit characters for the german
version of Microsoft Exchange Server.
* lib/net/imap.rb (RTEXT_REGEXP): ditto.
* lib/net/imap.rb (CTEXT_REGEXP): ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 9 | ||||
| -rw-r--r-- | lib/net/imap.rb | 6 |
2 files changed, 12 insertions, 3 deletions
@@ -1,3 +1,12 @@ +Sun Oct 3 21:16:05 2004 Shugo Maeda <shugo@ruby-lang.org> + + * lib/net/imap.rb (TEXT_REGEXP): allow 8-bit characters for the german + version of Microsoft Exchange Server. + + * lib/net/imap.rb (RTEXT_REGEXP): ditto. + + * lib/net/imap.rb (CTEXT_REGEXP): ditto. + Sat Oct 2 20:34:05 2004 Nobuyoshi Nakada <nobu@ruby-lang.org> * parse.y (local_vars): moved to struct parser_params. diff --git a/lib/net/imap.rb b/lib/net/imap.rb index 705d54b0c..7886c66fd 100644 --- a/lib/net/imap.rb +++ b/lib/net/imap.rb @@ -1909,14 +1909,14 @@ module Net (?# 7: RPAR )(\)))/ni TEXT_REGEXP = /\G(?:\ -(?# 1: TEXT )([^\x00\x80-\xff\r\n]*))/ni +(?# 1: TEXT )([^\x00\r\n]*))/ni RTEXT_REGEXP = /\G(?:\ (?# 1: LBRA )(\[)|\ -(?# 2: TEXT )([^\x00\x80-\xff\r\n]*))/ni +(?# 2: TEXT )([^\x00\r\n]*))/ni CTEXT_REGEXP = /\G(?:\ -(?# 1: TEXT )([^\x00\x80-\xff\r\n\]]*))/ni +(?# 1: TEXT )([^\x00\r\n\]]*))/ni Token = Struct.new(:symbol, :value) |
