faqts : Computers : Programming : Languages : Perl

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

1 of 2 people (50%) answered Yes
Recently 1 of 2 people (50%) answered Yes

Entry

PERL: Search/Replace: Expression: Regular: Test: How to easy test your regular expressions? [RegEx]

Oct 28th, 2003 16:36
Knud van Eeden,


----------------------------------------------------------------------
--- Knud van Eeden --- 29 October 2003 - 01:27 am --------------------
PERL: Search/Replace: Expression: Regular: Test: How to easy test your 
regular expressions? [RegEx]
---
Download and install 'Regex Coach'.
---
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 tries to describe the regular expression in plain English.
-Everything happens in "real time", i.e. as soon as you make a change
 somewhere in the application all other parts are instantly updated."
-It shows whether a regular expression matches a particular target 
string.
-It can "walk" through the target string one match at a time.
-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 show a graphical representation of the regular expression's 
parse tree.
-It can simulate Perl's split and s/// (substitution) operators.
-It can single-step through the matching process as performed by the 
regex engine.
---
The program was written in Common LISP.
---
[Internet: source: http://weitz.de/regex-coach/]
---
---
Internet: see also:
The Regex Coach - Tutorial step 1
http://weitz.de/regex-coach/tutorial1.html
----------------------------------------------------------------------