[Catalyst] Alien::Dojo uses regexes to parse HTML, so what?

Dominique Quatravaux dom at idealx.com
Tue May 30 13:38:23 CEST 2006


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

phaylon wrote:

> Well, seeing how you don't seem to *want* to argue about it, but
> rather just prove your point, I think it might better we end this
> discussion?

Feel free to do so, my version of Alien::Dojo is not even moving in
the direction of long-term survival anyway.

> Just accept it, regular expressions were *not* made to parse HTML.

And neither do I intend to use them to. Quoting myself:

> We are not trying to address the problem of parsing HTML in
> general,

In the wanting-to-argue department, I submit that reading the other
party's arguments in full sounds like a good first step.

For the record, what I am trying to do is

    pick the first URI in the homepage that points to a Dojo zipball
    on download.dojotoolkit.org


Regexes are (as argued in the rest of the thread) one of the right
tools for *that* job. You wouldn't use them, I did. It doesn't matter
to the Catalyst community anyway since my module is going to be taken
over. Can we settle on these terms?

- --
Dominique QUATRAVAUX                           Ingénieur senior
01 44 42 00 08                                 IDEALX

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEfC6uMJAKAU3mjcsRArDfAKDBglcbCjbg7TYLxjQj3Rx6EJDT6QCgoc04
pzJB2SLQ9UGJryve4afSpgk=
=IlU0
-----END PGP SIGNATURE-----





More information about the Catalyst mailing list