This directory contains contributed material that is relevant to the use of
PCRE. Please don't ask the author of PCRE about any of it; it comes from other
authors. Also, some of it is no doubt out of date.

These contributions were archived on 19-Mar-2007 because they are felt to be 
really out of date, and to some extent superseded by new features in the 
standard package.

MSVC6-*                 Preston L. Bannister
                        Email local part: preston
                        Email domain: bannister.us
                        There are lots of different ways offered to compile the
                        PCRE library on Win32. I needed something that could
                        drop cleanly into an existing Win32/MSVC workspace.
                        (See MSVC6-README for further details.) 
                         

Scripts for cmake       Christian Ehrlicher 
                        Email local part: Ch.Ehrlicher
                        Email domain: gmx dot de
                        Because kde4 switched to cmake, I decided to create
                        your pcre-lib for msvc with cmake. Now you can also
                        configure pcre on native win32 without the need for
                        msys or some other changes by hand. Put the files into
                        your pcre directory and run cmake (2.2 should work,
                        I've used 2.4.3). You can find them here:
                         
                        http://www.abi-neuhaus.de/chris/win32libs/helpers/pcre/

                        Some things are still missing:
                        
                        - process pcre-config.in and libpcre.pc.in
                        - what about the .def - files?
                        - create / run tests
                        - check if all is installed correct
                        - #undef const and #undef size_t are not handled by
                          cmake because I don't know why they're needed.
                        
                        I've updated the cmake scripts
                        - added uninstall target (cmake doesn't provide it by default)
                        - install man1/man3 correct
                        - add option to enable/disable (def: enable) pcrecpp compile


PcreVcProject.zip       Lynn Allan
                        Email local part: l_d_allan
                        Email domain: adelphia dot net 
                        I stared at the unix/linux oriented files related to
                        buiding/making, and was able to put together project
                        files for Microsoft vc6 and vc7.1 (dsw, dsp, sln, and
                        vcproj). To get them to work, the project copies
                        config.h.winvc to config.h. To get pcregrep to work, I
                        had to track down an appropriate unistd.h. The other
                        files are unchanged.


BuildMSW_PCREdll_withDevCpp_and_or_MingW.exe
                        Dave Silvia
                        Email local part: dsilvia
                        Email domain: mchsi dot com  
                        I'm attaching a self-extracting zip file for Windows
                        which contains the files needed to build a dynamic link
                        library of PCRE for the Microsoft Windows platform.  It
                        contains 4 files.  A makefile which must minimally be
                        used if the user opts only to employ MinGW's platform
                        for their implementation of the GNU make and gcc for
                        Windows.  It also contains a mswpcre.dev file which is
                        the project file for Dev-Cpp's IDE which also employs
                        MinGW's utilities as well as other free implementations
                        of make and compilers suitable for Windows.  It also
                        contains a copy of chartables.c which I generated which
                        can be used by those who haven't got a UNIX like setup
                        and this is not automatically generated for them.
                        Lastly it contains a readme with is the preamble
                        comment from the makefile explaining how to use these
                        files and where Dev-Cpp and MinGW may be obtained on
                        the net.
                        
                        I hope folks find this useful as it represents my trial
                        and error attempts to get a Windows version of PCRE
                        running using the common tools most Windows developers
                        have. It appears to work cleanly across a number of
                        IDE's and build environments I use in Windows.
 

pcre-6.3-win32-src.zip  Dmitri Dmitrienko
                        Email local part: ddmitrie
                        Email domaian: gmail dot com 
                        Attached are the project files to compile
                        libpcre-6.3.dll and other testing stuff suitable for
                        those who are interested in  building this library
                        using Microsoft Visual Studio 6 or higher. I think it
                        makes sense to put these files to Contribute web site
                        part. Instructions are strightforward: unpack ZIP so
                        win32 directory appears inside pcre library directory,
                        run Visual Studio, open pcre.dsw, select Release target
                        and run build for "test" project. It will build all
                        other projects as well, including deftables, pcre
                        library, pcretest, pcregrep and will run tests. To run
                        tests it's necessary to have CYGWIN tools (diff and sh)
                        available via CYGWIN environment variable. CYGWIN is
                        required to run tests only.
                        
pcreming.zip            Ron Aaron
                        Email local part: ron
                        Email domain: ronware dot org
                        I have taken the liberty of creating a version of PCRE
                        5.0 compiled on Win32 with mingw32.  Attached is a zip
                        file with my modified makefile, an RC file which puts
                        the 'version information' in the DLL, and a compiled
                        pcre.dll and pcregrep.exe which uses the DLL.

pcre-5.0-vp.rar         Stefan Weber
                        Email local part: ho1459
                        Email domain: bnhof dot de
                        I am sending you the files needed to compile PCRE 5.0
                        with BCC32 suitable to be used in VIRTUAL PASCAL. The 
                        archive is simply to be extracted over the extracted 
                        pcre-5.0.tar.gz archive w/o any other modifications
                        except the path to BCC32 needs to be corrected for the
                        user system in the batchfile.

build-win32-vc.txt      Email local part: victor dot mozguine
                        Email domain: telelogic dot com
                        How-to build PCRE libraries and utils (static and DLL)
                        for Microsoft Visual Studio by Victor Mozguine. These
                        are instructions for the use of the scripts that are in
                        the file pcre-win32-vc.tar.gz.

pcre-win32-vc.tar.gz    See previous comment.

C++Wrapper.tar.gz       a wrapper for C++

C++Wrapper2.tgz         another wrapper for C++

C++Wrapper3             another wrapper for C++; the author says "I found that 
                        a very simple and small C++ API wrapper can make using 
                        PCRE even easier. I have attached my wrapper to this 
                        email. I thinks it's easier to use that the rather 
                        large pcre++ package."

pme-1.0.2.tar.gz        Yet another wrapper for C++ by Zac Hansen.
                        Small example code looks like:
                          
                          PME MyRegex( "[a-z]", "g" );
                          while ( MyRegex.match ( "hello" ) ) {
                              std::cout << MyRegex [ 0 ] << std::endl;
                          }
                          
                          would print:
                          h
                          e
                          l
                          l
                          o

win32.mak               Paul Whitehead
                        Email local part: paul dot whitehead
                        Email domain: bcs dot org dot uk
                        A Makefile for Borland C. It needs to be run from
                        Borland's make utility like so:

                          make -fwin32.mak

                        It is written with the idea of it being in the main
                        PCRE directory (same as config.in etc.).

MSVC5.0.mak             Stan Brown
                        Email local part: support
                        Email domain: oakroadsystems dot com
                        A modified version of the above, for Microsoft MSVC/C++
                        5.0 using command-line tools only.

C++                     Email local part: tom
                        Email domain: daemon dot de
                        http://www.daemon.de/pcre++/ is a site where you can
                        find a C++ port of PCRE by Thomas Linden. Tom writes:
                        "pcre++ (which I named it for now), supports
                        autoconf/automake. It is completely documented using
                        doxygen (available docs are html and manpage). A sample
                        program illustrates how to use this class. The class
                        implements methods for search(), replace() and split().
                        The replace() method supports the use of $1 .. $n
                        inside the replace-string. It compiles on FreeBSD,
                        Linux and W2K (cygwin)."

Borland.VCL             Pointer and info about a BCB/VCL port.

pcre-bcb5.tar.gz        Email local part: ewald dot arnold
                        Email domain: rafi dot de

                        last week I downloaded pcre 4.2 and spent some time to
                        set up project files for Borlands CBuilder 5.5 under
                        Windows.

                        Since I think some people might be happy about them I
                        send you my complete bcb5 directory with all project
                        files. I also had to add "export" declarations to all
                        the public the functions to link the dll. It is hidden
                        in a macro so it might also be included in the standard
                        distribution. And my internal.h #include's
                        config-bcb5.h which could be handled by #ifdef
                        __BORLANDC__.
****
