[Haskell-cafe] RegEx versus (Parsec, TagSoup, others...)

Brandon S Allbery KF8NH allbery at ece.cmu.edu
Fri Nov 19 17:17:23 EST 2010


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

On 11/13/10 09:19 , Brent Yorgey wrote:
> On Fri, Nov 12, 2010 at 03:56:26PM -0800, Michael Litchard wrote:
>> a Perl perspective. I let him into what I was doing, and he opined I
>> should be using pcre. So now I'm second guessing my choices. Why do
>> people choose not to use regex for uri parsing?
> 
> Never believe anything anyone coming from a Perl perspective says
> about regular expressions.

If a Perl "expert" tells you that regexps are the way to parse HTML/XML, you
can safely conclude they've never actually tried to do it.

- -- 
brandon s. allbery     [linux,solaris,freebsd,perl]      allbery at kf8nh.com
system administrator  [openafs,heimdal,too many hats]  allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university      KF8NH
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzm93MACgkQIn7hlCsL25V6RACgxWMErR6armLoxyFooERkxnJa
+I8Aniag5cRSZ9pdwsDeQ/nedMsxana+
=aiuP
-----END PGP SIGNATURE-----


More information about the Haskell-Cafe mailing list