The Wayback Machine - https://web.archive.org/web/20060111135847/http://www.billposer.org:80/Software/redet.html

Redet

Regular Expression Development

and

Execution Tool

Redet in operation

Contents

  1. Overview
  2. News
  3. Programs Supported
  4. Comparison With Other Regular Expression Tools
  5. Platforms
  6. Details
  7. Documentation
  8. Downloads
  9. Roadmap
  10. Known Bugs
  11. Change Log

Overview

Redet allows the user to construct regular expressions and test them against input data by executing any of a variety of search programs, editors, and programming languages that make use of regular expressions. When a suitable regular expression has been constructed it may be saved to a file. redet stands for Regular Expression Development and Execution Tool. For each program, a palette showing the available regular expression syntax is provided. Selections from the palette may be copied to the regular expression window with a mouse click. Users may add their own definitions to the palette via their initialization file. Redet also keeps a list of the regular expressions executed, from which entries may be copied back into the regular expression under construction. The history list is saved to a file and restored on startup, so it persists across sessions. So long as the underlying program supports Unicode, redet allows UTF-8 Unicode in both test data and regular expressions.


Back to Top

News

As of version 8.0 old-style initialization files are no longer supported.


Programs Supported

The programs currently supported are:


Back to Top

Comparison With Other Regular Expression Tools

Redet is but one of a number of tools that provide assistance in using regular expressions with different capabilities and purposes. Which one should you choose?

Here are some of Redet's distinctive properties:

Even I don't think that Redet is the best tool for all purposes. For one thing, it assumes that the user knows something about regular expressions or is willing to spend some time learning. The novice who doesn't want to learn more or doesn't have time to should try txt2regex which walks the user through the construction of the regular expression and generates output for 20 different programs and languages. It is one of the few tools that isn't specialized for a particular language or program.

Some programs provide details about the matching process. regex-coach, for example, can single-step through the match and show the parse tree, so it is useful if you want to understand the matching process in detail. It uses PERL-style regular expressions. Regexpviewer will show you which portions of the text were matched by which group in the regular expression. It uses Tcl regular expressions. Kiki and Kodos are similar, rather more elaborate, tools for Python. Programs like Redet that support many different regular expression matchers cannot provide this kind of detail because they don't execute the regular expressions themselves.

Some programs provide insight into the relationship between regular expressions and finite state automata and into the implementation of regular expression engines. re_graph draws the finite state automaton corresponding to a given regular expression and annotates the diagram in such a way as to show the correspondance between parts of the regular expression and parts of the automaton. qfsm is a graphical tool for designing finite state automata directly.

A more extensive list of regular expression and pattern matching software can be found here.


Back to Top

Platforms

Due to the wide availability of Tcl/Tk, there is a good chance of getting redet to work on most platforms. Use of facilities known to be operating system-specific has been avoided. It is developed and tested most extensively under GNU/Linux. Platforms on which Redet is known to run are:

There are two implementations of Tk for Mac OS X: Tk-X11 and Tk-Aqua. Redet runs properly with Tk-X11 (for which, naturally, you must have X11 installed). It now also adapts itelf to Tk-Aqua, the native Mac OS X implementation of Tk. It is usable with Tk-Aqua but some details still require work.

Native Macintosh executables of Tcl/Tk that run under Aqua may be obtained from http://tcltkaqua.sourceforge.net/.

If you attempt to install redet on another system, I would appreciate learning whether you were successful and if problems were encountered, what they were and how you resolved them, if you did.


Back to Top

Details

LanguageTcl/Tk
Dependencies (strong)Tcl/Tk version 8.3 or higher
Dependencies (weak)dillo [used by some help functions by default - other browsers may be used instead]
Current version8.3
Last modified2006-01-06
LicenseGNU General Public License

Note: obtaining the necessary Tcl/Tk environment.

The GUI requires both the basic Tcl/Tk distribution and the iwidgets library. If you already have Tcl/Tk and just need to add iwidgets, you can obtain the package from the Sourceforge project site. On the download page you will find source and binary packages for both [incr Tcl/Tk], which is the basic part of this package, and [incr widgets], which is the part that contains the widgets. You will need to install both. (iwidgets is an alternative name for [incr widgets].)

The easiest way to obtain the Tcl/Tk environment you need is to install the ActiveTcl distribution from ActiveState. This distribution provides the Tcl language, the Tk graphics library, and a bunch of extensions, including [incr tcl] and [incr widgets]. Don't be concerned by the fact that ActiveState is a commercial outfit. The Tcl/Tk distribution that they provide is free as in both beer and speech. They make their money selling services and programming tools. The ActiveTcl distribution is currently available for: GNU/Linux, HP-UX, AIX, Solaris, Mac OS X, and MS Windows.


Back to Top

Documentation

Read the reference manual (numerous screenshots)


Back to Top

Downloads

The program is now available without the reference manual since the documentation is large but often changes little from release to release.

Download the program and ancillary files without the reference manual [154KB]

Download the full package including the reference manual [4.8MB]

If you would like to be notified of new releases, subscribe to Redet at Freshmeat.

Packages are available for a number of systems:

Redet is distributed as part of the Ubuntu distribution of GNU/Linux as of the Dapper release.


Back to Top

Roadmap


Back to Top

Known Bugs


Back to Top

Change Log

8.3

8.2

8.1

8.0

7.10

7.9

7.8

7.7

7.6

7.5

7.4

7.3

7.2

Please note that these changes create some incompatibilities with previous versions. One incompatibility is the change in format of custom character widget specifications. A second is that some commands now end in P that previously did not. The third is that the notation used to refer to user-defined named character classes has changed.

7.1

7.0

6.14

6.13

6.12

6.11

6.10

6.9.1

6.9

6.8

6.7.1

6.7

6.6

6.5

6.4

6.3

6.2

6.1

6.0

5.3.1

5.3

5.2.3

5.2.2

5.2.1

5.2

5.1.1

A bug that resulted in failure to locate the reference manual when a browser is invoked from the Help menu has been fixed.

5.1

The notation used for user-defined named character classes has been changed from [:name:] to [.name.] so as to avoid conflict with the built-in character classes used by some programs.

5.0

4.18.2

4.18.1

Never mind.

4.18

4.17.1

A bug was fixed in which, if the user dismissed the patience placard, the attempt to update the progress info of the now non-existant placard caused an error and terminated the feature testing run. Redet now checks whether the placard window exists before attempting to update it.

4.17

4.16.1

This version fixes a bug that generated a superfluous hyphen at the beginning of saved history entries and entries in .redethist.

4.16

4.15

4.14.1

Fixed bug that produced a non-fatal error when generating the message confirming the saving of a regexp to a file.

4.14

4.13

4.12

Version 4.12 fixes a bug that causes an error if reading of the init file .redetrc is enabled (the default) but no init file is found.

4.11

4.10

4.9


Back to Top


Back to Bill Poser's software page.