Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: gnustep

This branch is 149 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
README
config.h
license.txt
pcre.h
pcre_chartables.c
pcre_compile.c
pcre_config.c
pcre_dfa_exec.c
pcre_exec.c
pcre_fullinfo.c
pcre_get.c
pcre_globals.c
pcre_info.c
pcre_internal.h
pcre_maketables.c
pcre_newline.c
pcre_ord2utf8.c
pcre_refcount.c
pcre_scanner.h
pcre_stringpiece.h
pcre_study.c
pcre_tables.c
pcre_try_flipped.c
pcre_ucd.c
pcre_valid_utf8.c
pcre_version.c
pcre_xclass.c
pcrecpp.h
pcrecpp_internal.h
pcrecpparg.h
pcreposix.c
pcreposix.h
ucp.h

README

This directory contains PCRE source files generated from the official 
PCRE distribution.

These files are included to simplify building Nu on all platforms, 
especially iOS, which currently has limited support for libraries.

When compiling, please be sure to define the following macro:
	-D HAVE_CONFIG_H

See pcre.h for the version number of our PCRE snapshot.

You can update these files from the latest PCRE distribution 
by following these steps:

1. Generate the appropriate config.h using this command (in 
the PCRE directory):

% ./configure --enable-utf8

2. Copy all source files from your local PCRE source directory.

% cd Nu/pcre
% cp /usr/local/src/pcre-8.10/*.[ch] .

3. Remove the sources for any PCRE test and demonstration programs.

% grep "main(" *
dftables.c:int main(int argc, char **argv)
pcredemo.c:int main(int argc, char **argv)
pcregrep.c:main(int argc, char **argv)
pcretest.c:int main(int argc, char **argv)

% rm dftables.c pcredemo.c pcregrep.c pcretest.c

4. Verify that your sources include pcre_chartables.c. This
file is generated automatically by the PCRE build, so if you don't
have it, you can easily get it by running 'make' in your PCRE
directory (after running the 'configure' step noted previously).

% cp /usr/local/src/pcre-8.10/pcre_chartables.c .

Something went wrong with that request. Please try again.