Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


ID: 19566, How To Access PCRE from Delphi

by Renato Mancuso Email: Anonymous


PcreWorkbench sources (contains Delphi import units and wrappers for Phil Hazel's PCRE)
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 7.0  to 7.0 330 downloads
Copyright: No significant restrictions


Size: 339,071 bytes
Updated on Sun, 07 Mar 2004 03:59:05 GMT
Originally uploaded on Sun, 16 Feb 2003 02:55:37 GMT
SHA1 Hash: 04192FE6060C26B66E5918572688221E298162AB
MD5 Hash: 5C02DF5186D62E8E1A8A8734A05F0A58

    Explore the files in this upload

Description
This submission contains an import unit for Philip Hazel Perl Compatible Regular Expression library 4.4, plus a custom Delphi wrapper around it.

Access is provided to almost all PCRE functionality including the POSIX style API and support for locales.

The Delphi intefaces have been modeled around the .NET Regex interfaces (so in addition to Match, they also provide Split, Grep and Replace methods).

This submission contains also a complete project for a GUI that allows to interactively test all methods of the Delphi wrapper.
Compiled binaries for this project are available as CodeCentral #19563

HISTORY
Mar 7 2004 - pcre.dll updated to PCRE 4.5

Mar 4 2004 - added support for named capture groups in the wrapper
(original code submitted by Sacha De Vos)

Dec 8 2003 - pcre.dll and online help updated to PCRE 4.4

Nov 26 2003 - Fixed bug in Regex.Split - submatch content is now added only if the submatch matched

Mar 11 2003 - Some minor cosmetic changes to the GUI

Mar 06 2003 - This is an update to the original submission. Please refer to the ChangeLog.txt file and to the README for a list of the changes. Substitution patterns have now been implemented in TRegex.Replace.

keywords: regex, pcre, regular expressions

For more information, see http://www.renatomancuso.com

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC03