Re: [xml-dev] parsing markup with Perl

From
Liam R E Quin <>
To
"Simon St.Laurent" <>
Date
2014-02-08T02:15:37Z
ID
<>
Thread
Re: [xml-dev] parsing markup with Perl
On Fri, 2014-02-07 at 12:42 -0500, Simon St.Laurent wrote:
> More fun for the crowd here.
> 
> <http://programming.oreilly.com/2014/02/parsing-html-with-perl-2.html>

Both the link (that ihe mentioned), and the article by Tom embedded as a
comment, "Oh Yes You Can Use Regexes to Parse HTML!" in the article -
http://stackoverflow.com/questions/4231382/regular-expression-pattern-not-matching-anywhere-in-string/4234582#answer-4234491
- are germane.

That Tom Christiansen can do something in Perl does not, however, mean
that everyone else can :D and of course Perl "regular expressions" are
not in the formal language sense regular - there's an example in the
documentation of matching balanced parentheses to demonstrate this.



-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml