Warning: include_once(blog.inc) [function.include-once]: failed to open stream: No such file or directory in /home/mark/htdocs/tm/archives/cat_perl.php on line 3

Warning: include_once() [function.include]: Failed opening 'blog.inc' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/mark/htdocs/tm/archives/cat_perl.php on line 3
Mark's Technomusings: Perl Archives

November 02, 2005

Learn and Test Regular Expressions the Easy Way

The Regex Coach is a graphical application for Linux and Windows which can be used to experiment with (Perl-compatible) regular expressions interactively. It has the following features:

* It shows whether a regular expression matches a particular target string.
* It can also show which parts of the target string correspond to captured register groups or to arbitrary parts of the regular expression.
* It can "walk" through the target string one match at a time.
* It can simulate Perl's split and s/// (substitution) operators.
* It tries to describe the regular expression in plain English.
* It can show a graphical representation of the regular expression's parse tree.
* It can single-step through the matching process as performed by the regex engine.
* Everything happens in "real time", i.e. as soon as you make a change somewhere in the application all other parts are instantly updated.

Posted by mark at 04:42 PM | TrackBack