[vox-tech] Parsing Html

Mike Simons vox-tech@lists.lugod.org
Wed, 11 Jun 2003 18:53:17 -0400


--UHN/qo2QbUvPLonB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jun 11, 2003 at 05:23:29PM -0500, Jay Strauss wrote:
> Why do you have to use "\00" and then split on only "\0"?  I understand t=
hat
> they are just markers to split by, but I'm missing something about the
> escaping.

  oh... I don't know if that is required or habit.  Inside a sed
search and replace expression (for historical reasons) \1 is the first
grouping \2 is second, etc... upto \9.  If you want a literal character
from the sed's that support the operation \ and two or three digits
is an octal number which you want substituted. =20
  inside a perl string there is no non-sense like that, so "\0" works,=20
you don't need multiple digits.

--=20
GPG key: http://simons-clan.com/~msimons/gpg/msimons.asc
Fingerprint: 524D A726 77CB 62C9 4D56  8109 E10C 249F B7FA ACBE

--UHN/qo2QbUvPLonB
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE+57Ld4Qwkn7f6rL4RAvZBAJ41rZ/6m4Hxc5ZHBGiIIxmHpwsZ+wCfXr52
WgzvlTK0fdxYJ1WSrj/G3H8=
=VZLI
-----END PGP SIGNATURE-----

--UHN/qo2QbUvPLonB--