|RE: Alternative Syntax for Regular Expressions? firstname.lastname@example.org (Quinn Tyler Jackson) (2001-10-16)|
|Re: Alternative Syntax for Regular Expressions? email@example.com (2001-10-20)|
|From:||"Quinn Tyler Jackson" <firstname.lastname@example.org>|
|Date:||16 Oct 2001 00:06:29 -0400|
|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
Search the comp.compilers archives again.