/[pcre]/code/trunk/README
ViewVC logotype

Diff of /code/trunk/README

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 345 by ph10, Mon Apr 28 15:10:02 2008 UTC revision 406 by ph10, Mon Mar 23 12:05:43 2009 UTC
# Line 1  Line 1 
1  README file for PCRE (Perl-compatible regular expression library)  README file for PCRE (Perl-compatible regular expression library)
2  -----------------------------------------------------------------  -----------------------------------------------------------------
3    
4  The latest release of PCRE is always available from  The latest release of PCRE is always available in three alternative formats
5    from:
6    
7    ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-xxx.tar.gz    ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-xxx.tar.gz
8      ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-xxx.tar.bz2
9      ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-xxx.zip
10    
11  There is a mailing list for discussion about the development of PCRE at  There is a mailing list for discussion about the development of PCRE at
12    
# Line 82  documentation is supplied in two other f Line 85  documentation is supplied in two other f
85       in various ways, and rooted in a file called index.html, is distributed in       in various ways, and rooted in a file called index.html, is distributed in
86       doc/html and installed in <prefix>/share/doc/pcre/html.       doc/html and installed in <prefix>/share/doc/pcre/html.
87    
88    Users of PCRE have contributed files containing the documentation for various
89    releases in CHM format. These can be found in the Contrib directory of the FTP
90    site (see next section).
91    
92    
93  Contributions by users of PCRE  Contributions by users of PCRE
94  ------------------------------  ------------------------------
# Line 158  library. You can read more about them in Line 165  library. You can read more about them in
165    it will try to find a C++ compiler and C++ header files, and if it succeeds,    it will try to find a C++ compiler and C++ header files, and if it succeeds,
166    it will try to build the C++ wrapper.    it will try to build the C++ wrapper.
167    
168  . If you want to make use of the support for UTF-8 character strings in PCRE,  . If you want to make use of the support for UTF-8 Unicode character strings in
169    you must add --enable-utf8 to the "configure" command. Without it, the code    PCRE, you must add --enable-utf8 to the "configure" command. Without it, the
170    for handling UTF-8 is not included in the library. (Even when included, it    code for handling UTF-8 is not included in the library. Even when included,
171    still has to be enabled by an option at run time.)    it still has to be enabled by an option at run time. When PCRE is compiled
172      with this option, its input can only either be ASCII or UTF-8, even when
173      running on EBCDIC platforms. It is not possible to use both --enable-utf8 and
174      --enable-ebcdic at the same time.
175    
176  . If, in addition to support for UTF-8 character strings, you want to include  . If, in addition to support for UTF-8 character strings, you want to include
177    support for the \P, \p, and \X sequences that recognize Unicode character    support for the \P, \p, and \X sequences that recognize Unicode character
# Line 252  library. You can read more about them in Line 262  library. You can read more about them in
262    pcre_chartables.c.dist. See "Character tables" below for further information.    pcre_chartables.c.dist. See "Character tables" below for further information.
263    
264  . It is possible to compile PCRE for use on systems that use EBCDIC as their  . It is possible to compile PCRE for use on systems that use EBCDIC as their
265    default character code (as opposed to ASCII) by specifying    character code (as opposed to ASCII) by specifying
266    
267    --enable-ebcdic    --enable-ebcdic
268    
269    This automatically implies --enable-rebuild-chartables (see above).    This automatically implies --enable-rebuild-chartables (see above). However,
270      when PCRE is built this way, it always operates in EBCDIC. It cannot support
271      both EBCDIC and UTF-8.
272    
273  . It is possible to compile pcregrep to use libz and/or libbz2, in order to  . It is possible to compile pcregrep to use libz and/or libbz2, in order to
274    read .gz and .bz2 files (respectively), by specifying one or both of    read .gz and .bz2 files (respectively), by specifying one or both of
# Line 283  library. You can read more about them in Line 295  library. You can read more about them in
295    to specify something like LIBS="-lncurses" as well. This is because, to quote    to specify something like LIBS="-lncurses" as well. This is because, to quote
296    the readline INSTALL, "Readline uses the termcap functions, but does not link    the readline INSTALL, "Readline uses the termcap functions, but does not link
297    with the termcap or curses library itself, allowing applications which link    with the termcap or curses library itself, allowing applications which link
298    with readline the to choose an appropriate library."    with readline the to choose an appropriate library." If you get error
299      messages about missing functions tgetstr, tgetent, tputs, tgetflag, or tgoto,
300      this is the problem, and linking with the ncurses library should fix it.
301    
302  The "configure" script builds the following files for the basic C library:  The "configure" script builds the following files for the basic C library:
303    
# Line 640  The distribution should contain the foll Line 654  The distribution should contain the foll
654    pcre_study.c            )    pcre_study.c            )
655    pcre_tables.c           )    pcre_tables.c           )
656    pcre_try_flipped.c      )    pcre_try_flipped.c      )
657    pcre_ucp_searchfuncs.c  )    pcre_ucd.c              )
658    pcre_valid_utf8.c       )    pcre_valid_utf8.c       )
659    pcre_version.c          )    pcre_version.c          )
660    pcre_xclass.c           )    pcre_xclass.c           )
# Line 649  The distribution should contain the foll Line 663  The distribution should contain the foll
663    pcre.h.in               template for pcre.h when built by "configure"    pcre.h.in               template for pcre.h when built by "configure"
664    pcreposix.h             header for the external POSIX wrapper API    pcreposix.h             header for the external POSIX wrapper API
665    pcre_internal.h         header for internal use    pcre_internal.h         header for internal use
666    ucp.h                   ) headers concerned with    ucp.h                   header for Unicode property handling
   ucpinternal.h           )   Unicode property handling  
   ucptable.h              ) (this one is the data table)  
667    
668    config.h.in             template for config.h, which is built by "configure"    config.h.in             template for config.h, which is built by "configure"
669    
# Line 725  The distribution should contain the foll Line 737  The distribution should contain the foll
737    
738  (D) Auxiliary files for cmake support  (D) Auxiliary files for cmake support
739    
740      cmake/COPYING-CMAKE-SCRIPTS
741      cmake/FindPackageHandleStandardArgs.cmake
742      cmake/FindReadline.cmake
743    CMakeLists.txt    CMakeLists.txt
744    config-cmake.h.in    config-cmake.h.in
745    
# Line 749  The distribution should contain the foll Line 764  The distribution should contain the foll
764  Philip Hazel  Philip Hazel
765  Email local part: ph10  Email local part: ph10
766  Email domain: cam.ac.uk  Email domain: cam.ac.uk
767  Last updated: 13 April 2008  Last updated: 21 March 2009

Legend:
Removed from v.345  
changed lines
  Added in v.406

  ViewVC Help
Powered by ViewVC 1.1.5