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

Brent Yorgey byorgey at seas.upenn.edu
Sat Nov 13 09:19:37 EST 2010

On Fri, Nov 12, 2010 at 03:56:26PM -0800, Michael Litchard wrote:
> I've been working on a project that requires me to do screen scraping.
> When I first started this, I worked off of other people's examples.
> Not one used regex. By luck I found someone at work to help me along
> this project. His clues and hints don't use regex either. I was at a
> point where I had to make a decision concerning design, so I asked the
> guy sitting next to me at work. He's very experienced, and comes from
> 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.


More information about the Haskell-Cafe mailing list