T-Rex for Delphi by Prodigy Computing: How-To
Regular-Expression Based Textfile Parser for Delphi
How You Use T-Rex
Using T-Rex is really easy.
- Create a T_Rex nonvisual component on your form.
- Point it at the textfile you want to parse, using Filespec.
- Specify the patterns that you are looking for in MatchPattern, using
the same standard regular expressions that you're used to in the Delphi IDE
(and if you need a tutorial on them, relax!, it's included).
- Write a handler for the OnMatch event.
- Tell T-Rex to Scan your file.
That's it!
With T-Rex, text parsers almost write themselves!
by Paul Keating keating@acm.org.
Copyright © 1996 by Prodigy Computing
T-Rex is a protected name of Prodigy Computing
$Revision: 1.4 $ $Date: 14 Dec 1996 15:35:36 $