Related articles |
---|
Alternative Syntax for Regular Expressions? forrest@ce.berkeley.edu (Jon Forrest) (2001-10-10) |
Re: Alternative Syntax for Regular Expressions? eeide@cs.utah.edu (Eric Eide) (2001-10-12) |
Re: Alternative Syntax for Regular Expressions? joachim_d@gmx.de (Joachim Durchholz) (2001-10-12) |
Re: Alternative Syntax for Regular Expressions? jenglish@flightlab.com (2001-10-12) |
Re: Alternative Syntax for Regular Expressions? vannoord@let.rug.nl (2001-10-12) |
Re: Alternative Syntax for Regular Expressions? dmitry@elros.cbb-automation.de (2001-10-12) |
Re: Alternative Syntax for Regular Expressions? alexc@world.std.com (2001-10-13) |
Re: Alternative Syntax for Regular Expressions? rboland@unb.ca (Ralph Boland) (2001-10-13) |
Re: Alternative Syntax for Regular Expressions? spinoza1111@yahoo.com (2001-10-14) |
[5 later articles] |
From: | "Joachim Durchholz" <joachim_d@gmx.de> |
Newsgroups: | comp.compilers |
Date: | 12 Oct 2001 00:16:07 -0400 |
Organization: | Compilers Central |
References: | 01-10-029 |
Keywords: | lex |
Posted-Date: | 12 Oct 2001 00:16:06 EDT |
Jon Forrest <forrest@ce.berkeley.edu> wrote:
> [...] maybe there are some alternatives to classic regular expression
> syntax out there. Note that I'm only talking about the syntax - it's
> hard to beat the semantics of regular expressions.
>
> Does anybody know of anything?
I once read something about constructing REs via a set of function
calls, i.e. instead of
abc|def
you write
RE("abc") OR RE("def")
which is much more wordy but (arguably) easier to read.
Unfortunately I don't remember any context - library writing? Ruby?
Python?
Regards,
Joachim
Return to the
comp.compilers page.
Search the
comp.compilers archives again.