[Dovecot] mbox: extra linefeed after Content-Length header in 1.1.rc8

tomas at tuxteam.de tomas at tuxteam.de
Thu Jun 5 09:16:06 EEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Jun 04, 2008 at 03:03:34PM -0700, Asheesh Laroia wrote:

[...]

> Python has an re.MULTILINE option you can pass to the regular expression so 
> that it can cross lines.  Perhaps Perl or your favorite regular expression 
> toolkit has something similar?

That would be the s modifier for a Perl regexp (treat string as a single
line):

  $x =~ /.../s

(This basically changes the meaning of . to also match end-of-line
chars. To control whether ^ and $ match beginning/end of string or
beginning/end of line whithin the string, see the m modifier).

> If not, Python it is! (-;

Nah ;-)

Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIR4SmBcgs9XrR2kYRAiiXAJ43v4e7kJcztLeET+6DUfKYxgZGHgCeJ1zi
YGYHYtPMsd8W2wy6M2tQOPA=
=lbOV
-----END PGP SIGNATURE-----


More information about the dovecot mailing list