From: David Vallner Date: 2006-11-24T06:49:41+09:00 Subject: Re: double-slashes in input causing trouble --------------enigAA7A61195A45AD6EEF15D569 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Edwin Fine wrote: > new_body =3D body.sub(original_section) {|s| s =3D new_section} >=20 Using only {new_section} for the block should suffice, I doubt assigning to a block parameter actually does anything outside the block. David Vallner --------------enigAA7A61195A45AD6EEF15D569 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) iD8DBQFFZhdvy6MhrS8astoRAqBIAJ9eGSPP06LoX6vv3PHXKcTj398YfACaA3I8 JbmVFm+zGoh79nDkLgLgQp8= =+geW -----END PGP SIGNATURE----- --------------enigAA7A61195A45AD6EEF15D569--