Related articles |
---|
RE: Alternative Syntax for Regular Expressions? qjackson@home.com (Quinn Tyler Jackson) (2001-10-16) |
Re: Alternative Syntax for Regular Expressions? spinoza1111@yahoo.com (2001-10-20) |
From: | "Quinn Tyler Jackson" <qjackson@home.com> |
Newsgroups: | comp.compilers |
Date: | 16 Oct 2001 00:06:29 -0400 |
Organization: | Compilers Central |
Keywords: | lex, comment |
Posted-Date: | 16 Oct 2001 00:06:28 EDT |
> I've been looking at some pretty hairy regular expressions (in Perl)
> recently that are virtually unreadable. The thought crossed my mind
> that 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 think that I shall never see,
A form as kludgey as my RE,
A form that scans and scans away,
And lifts its character class to play.
A form who may in some forms wear
A nested bracket in its hair.
Grammars are made by fools like me,
But only code can read my RE.
--
Quinn Tyler Jackson
[Thanks, we all feel better now. -John]
Return to the
comp.compilers page.
Search the
comp.compilers archives again.