summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <>2008-06-10 19:45:25 +0000
committererdgeist <>2008-06-10 19:45:25 +0000
commit2e8ad294951815bc8c2e1f37cfa3d4d4bff364af (patch)
tree6ce511b901d142a317ecd000c7168fda373a1cc9
parent3d5a8a4648c60e674e026b27a75e8135629b0086 (diff)
IE cant call functions on regexp declarations.
-rw-r--r--encoding.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/encoding.js b/encoding.js
index f0b68a7..52265de 100644
--- a/encoding.js
+++ b/encoding.js
@@ -147,7 +147,7 @@ function decode_base64( str ) {
147 147
148function decode_header( line ) { 148function decode_header( line ) {
149 while( 1 ) { 149 while( 1 ) {
150 var enc_word = /=\?(\S+)\?(Q|B)\?(\S+)\?=/(line); 150 var enc_word = line.match( /=\?(\S+)\?(Q|B)\?(\S+)\?=/ );
151 var dec_word; 151 var dec_word;
152 if( enc_word == null ) { 152 if( enc_word == null ) {
153 break; 153 break;