PcreWorkbench140_src
所属分类:Windows编程
开发工具:Delphi
文件大小:567KB
下载次数:47
上传日期:2006-03-26 15:40:49
上 传 者:
micky_bird
说明: 最牛的正则表达式验证工具!
有了正则表达式库还是不会用,写不出想要的正则表达式怎么办?用这个工具,就可以首先对表达式本身进行验证,验证无误再将其嵌入你自己的代码即可。压缩包包含全部源代码,这个代码也是正则表达式库使用方法的最好示范。
(most cattle in the regular expression verification tools! There is a regular expression library or not to write unwanted expression is how do? Using this tool, it can begin right expression itself for certification, the certification unmistakably further embed your own code can be. Compressed includes full source code, the code also is a regular expression for the best use of the model.)
文件列表:
About.dfm (7184, 2004-10-26)
About.pas (3680, 2003-03-08)
ChangeLog.txt (2812, 2005-08-27)
classdiagram.gif (12232, 2003-02-03)
CONSTRUC.ICO (766, 2004-03-05)
CONTRIBUTORS (82, 2004-03-02)
LICENCE (1699, 2005-06-30)
Main.dfm (56324, 2005-08-23)
Main.pas (23591, 2005-08-23)
Master.chm (11537, 2005-08-27)
PCRE.chm (164091, 2005-08-27)
pcre.dll (307200, 2005-06-27)
PCRE.pas (64634, 2005-08-27)
PcreWorkbench.cfg (765, 2005-08-23)
PcreWorkbench.chm (238462, 2005-08-27)
PcreWorkbench.dof (2737, 2004-10-26)
PcreWorkbench.dpr (2108, 2005-06-27)
PcreWorkbench.rc (915, 2004-07-08)
PcreWorkbench.res (1700, 2005-08-24)
pcre_dll.pas (34803, 2005-06-30)
PCRE_LICENCE (2583, 2005-06-30)
stats.dof (2102, 2004-10-26)
stats.dpr (9292, 2005-06-27)
INTRODUCTION
------------
I have put in this directory a compiled version of Philip Hazel's PCRE library
version 6.x (with some minor modifications needed to make it fully accessible
from Borland Delphi), my Delphi import units for the PCRE and PCRE POSIX APIs,
and a Delphi unit (PCRE.pas) containing my own Delphi wrapper
interfaces around Philip's PCRE engine.
I am releasing my Delphi units under the same conditions as Philip Hazel's PCRE library.
You can find a copy of the original PCRE LICENCE in this directory (see the file
PCRE_LICENCE).
Documentation about PCRE regular expression syntax, as well as PCRE's original
C source files, can be downloaded from the Cambridge University FTP site at:
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
PCRE docs are essential if you want to make good use of PCRE! :)
The sources of my customised version of PCRE can instead be downloaded
from my web site (http://www.renatomancuso.com).
These Delphi wrapper interfaces and classes have been losely modeled on the
Microsoft .NET 1.x regular expression classes contained in the
System.Text.RegularExpressions namespace.
Please refer to the MSDN library website for more information
about the .NET classes and interfaces (http://msdn.microsoft.com/library/).
A little UML diagram illustrating the relationships among the various interfaces
can be found in the classdiagram.gif file.
FILES
-----
pcre.dll - PCRE 5.0 compiled with MS Visual C++.NET 7.1
pcre_dll.pas - Delphi import unit for PCRE
pcre.pas - Delphi wrapper around PCRE
LICENCE - licence
PCRE_LICENCE - PCRE licence
classdiagram.gif - UML Class Diagram of my Delphi interface
USAGE NOTE
------------------------------
If you want to use these interface in your Delphi projects, follow
these steps:
1) Add the following files to your project:
pcre_dll.pas
pcre.pas
2) Copy the pcre.dll file in the same directory which contains your
executable (for most small projects this is often the same directory
which contains your sources)
3) Add the pcre unit to the uses clause
SOME (SHORT) TECHNICAL BITS
--------------------------
The pcre.dll has been compiled using MS Visual C++.Net 2003 (MSVC 7.1).
The C runtime has been linked statically to ensure that the resulting .dll
is completely self contained. The multithread safe version of the C runtime
has been used.
NOTICE
------
Regular expression support is provided by the PCRE library package,
which is open source software, written by Philip Hazel, and copyright
by the University of Cambridge, England.
The latest release of PCRE is always available from:
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-xxx.tar.gz
The original PCRE LICENCE file can be found in the root directory of this
distribution with the name of PCRE_LICENCE.
DISCLAIMER
----------
This software is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
August 2005
Renato Mancuso
近期下载者:
相关文件:
收藏者: