note 96657 deleted from function.quoted-printable-decode by danbrown
| From: | danbrown@php.net | Date: | Wed, 10 Mar 2010 18:03:16 +0000 |
| Subject: | note 96657 deleted from function.quoted-printable-decode by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-166872@lists.php.net to get a copy of this message | ||
Note Submitter: emahieu
----
In reply to drm, there's a small error in the preg_match_all which causes the last line of the
message to drop off.
It was:
preg_match_all ( '/.{73}([^=]{0,3})/', $string, $match ); // Rule #1
And should be:
preg_match_all ( '/.{1,73}([^=]{0,3})/', $string, $match ); // Rule #1
Thanks for the alternative quoted-printable function, works like a charm!