[Home] [By Thread] [By Date] [Recent Entries]

  • From: Liam R E Quin <liam@w...>
  • To: "Simon St.Laurent" <simonstl@s...>
  • Date: Fri, 07 Feb 2014 21:15:37 -0500

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



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member