From 6e8ae612bac85ad5bb421170d62b41c4533d8165 Mon Sep 17 00:00:00 2001 From: shugo Date: Sun, 3 Oct 2004 12:21:35 +0000 Subject: [PATCH] * 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@6992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 9 +++++++++ lib/net/imap.rb | 6 +++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8193ebb5fc..457a80c7a9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +Sun Oct 3 21:16:05 2004 Shugo Maeda + + * 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 * parse.y (local_vars): moved to struct parser_params. diff --git a/lib/net/imap.rb b/lib/net/imap.rb index 705d54b0ce..7886c66fdd 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)