Re: Sugar for regular expression groupings.

Jaap Vermeulen (jaap@sequent.com)
Mon, 22 Feb 1993 09:49:59 -0800

| Improvement 2:
| Add syntax to regular expressions so that groups can be named
| in place, yielding the group dictionary. (This is a *big*
| advantage over perl.)

I stronly second this improvement. How often do I just guess which
subexpression yields what result? Often, since I always have trouble
counting nested subexpressions (and I'm sure I'm not the only one).

| But what python really needs are LALR(1) parser objects, don't you
| think?

Yes, that would solve a lot of other problems I encountered while
parsing *long* strings.

$0.02

-Jaap-

--
Jaap Vermeulen					+--------------------------+
						| Sequent Computer Systems |
	Internet : jaap@sequent.com		| Beaverton, Oregon	   |
	Uucp	 : ...uunet!sequent!jaap	+--------------------------+