Re: Regular Expressions

Eric Bodden <newsserver_mails@bodden.de>
12 Oct 2004 00:50:06 -0400

          From comp.compilers

Related articles
Regular Expressions m_j_mather@yahoo.com.au (2004-10-09)
Re: Regular Expressions newsserver_mails@bodden.de (Eric Bodden) (2004-10-12)
Re: Regular Expressions randyhyde@earthlink.net (Randall Hyde) (2004-10-12)
Re: Regular Expressions schmitz@i3s.unice.fr (Sylvain Schmitz) (2004-10-12)
Re: Regular Expressions Martin.Ward@durham.ac.uk (Martin Ward) (2004-10-12)
Re: Regular Expressions torbenm@diku.dk (2004-10-12)
Re: Regular Expressions dmaze@mit.edu (David Z Maze) (2004-10-12)
Re: Regular Expressions Martin.Ward@durham.ac.uk (Martin Ward) (2004-10-17)
[9 later articles]
| List of all articles for this month |

From: Eric Bodden <newsserver_mails@bodden.de>
Newsgroups: comp.compilers
Date: 12 Oct 2004 00:50:06 -0400
Organization: RWTH Aachen University
References: 04-10-069
Keywords: lex
Posted-Date: 12 Oct 2004 00:50:06 EDT

The weakness of RegEx is that you cannot formulate "exceptions" such
as "but not <Table>". In that case you would have to specify
everything that *is* still allowed, i.e. all possible HTML-tags except
the table one. Thus one would actually use either another formalism
(like generalized RegEx, that have "and" and negation) or use a real
parser.


Eric


--
Eric Bodden, ICQ: 12656220, http://www.bodden.de, PGP: BB465582
Active Desktop Wallpaper Changer: That's what it is...
http://bodden.de/projects/wpchanger/


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.