[Python-bugs-list] [Bug #115609] Please include regexdemo.py in main distribution

noreply@sourceforge.net noreply@sourceforge.net
Fri, 6 Oct 2000 10:37:24 -0700


Bug #115609, was updated on 2000-Sep-28 13:11
Here is a current snapshot of the bug.

Project: Python
Category: demos and tools
Status: Closed
Resolution: Fixed
Bug Group: Feature Request
Priority: 5
Summary: Please include regexdemo.py in main distribution

Details: I would like to recommend that Guido's regexdemo.py be included in the main distribution of 2.0.  (It was included in as a "demo" in the source distribution of v1.5.2.)

I find regexdemo to be a very useful tool for debugging my REs.  I think others would find it useful too, but since it is buried fairly far down in the source distribution, it is rather hard for newcomers to find.  I therefore recommend you include it in the "tools" directory of the main distribution.

As you know, REs are very difficult to learn (and even to use after you "learn" them!), so I think an excellent aid like regexdemo.py should be given more prominence.

thanks as always,

=g2

Follow-Ups:

Date: 2000-Sep-28 16:23
By: fdrake

Comment:
regexdemo.py is located in Demo/tkinter/guido/ and should be in the source distribution (don't know about Windows).  It is out of date as it uses regex instead of re; Guido will need to decide whether to update this or drop it before 2.0.  If it can't be updated before then, it should be dropped as regex is obsolete.

If someone decides to resurrect or replace it with an up to date version at a later time, it can be added back.

Patches to update it would be welcome.  Assigned to Guido for a decision on the disposition of this demo.
-------------------------------------------------------

Date: 2000-Oct-06 10:37
By: gvanrossum

Comment:
There's Demo/tkinter/guido/redemo.py, which uses the "re" module.
I'll move that to Tools/scripts/redemo.py so it will be installed on Windows (in python20\tools\scripts\redemo.py).

Since the regex module is obsolete, I won't bother with regexdemo.py.
-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=115609&group_id=5470