XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Parsing XML with anything but

On Mon, 2013-12-09 at 21:49 -0800, Dimitre Novatchev wrote:

> Just refresh on Chomsky Hierarchy

I'd hope that most of the people here, at least in this thread, are
familiar with it. Although in the context, perhaps it's worth reminding
people also that strictly speaking Perl's regular expressions are not
really regular expressions (and arguably not expressions but that's
another story).

I don't think I'd recommend writing an XML parser using Perl's regular
expressions, but it's not entirely clear that it's an impossible feat.
The perl documentation for "perlre" has an example that matches a
parenthesized group, matching the parens. 

Hierarchies break down under pressure :)

Liam

-- 
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]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS