554 |
function decode_structured_body ($body) { |
function decode_structured_body ($body) { |
555 |
$patterns = array ( |
$patterns = array ( |
556 |
"/\"((?:[^\"\\\\]+|\\\\.)*)\"/e", |
"/\"((?:[^\"\\\\]+|\\\\.)*)\"/e", |
557 |
"/\(((?:[^()\\\\]+|\\\\.|(?:\((?:[^()\\\\]+|\\\\.|(?:\((?:[^)\\\\]+|\\\\.\ |
"/\(((?:[^()\\\\]+|\\\\.|(?:\((?:[^()\\\\]+|\\\\.|(?:\((?:[^)\\\\]+|\\\\.\)*\))*\)))*)))\)/e", |
|
)*\)))*\)))*)\)/e", |
|
558 |
); |
); |
559 |
$replace = array ( |
$replace = array ( |
560 |
"mb_convert_encoding(fake_jisx0213(decode_quoted_pair('\\1')),'EUC-JP','auto')", |
"mb_convert_encoding(fake_jisx0213(decode_quoted_pair('\\1')),'EUC-JP','auto')", |