]> git.saurik.com Git - wxWidgets.git/blame - src/regex/README
Contact info
[wxWidgets.git] / src / regex / README
CommitLineData
e970653a
RN
1wxWindows regex
2----------------
3This is a version of Henry Spencer's regex,
4which was taken from postresql, which was
5taken from the source of TCL (Toolkit Command Language).
6
7This is version of Henry Spencer's library is
8modified by the wxWindows team. The modifications
9made by the wxWindows team are as follows:
161c73a3 10regcustom.h (all source code)
e970653a
RN
11regex.h (function wrappers, other)
12regc_locale.c (A function or two).
13All the rest (Using standard c library routines instead of
14 postresql routines, various cleanup/optimizations)
15
161c73a3
RN
16The source code that is wxWindows-specific is as follows:
17regcustom.h (all source code, see comments in source on how to replace)
18regex.h (where noted with comments in source, compiler workarounds)
e970653a
RN
19regcomp.c (a few of the functions prefixed with wx_,
20 these may be replaced by c library routines)
21
22This newer library was chosen over the old one because
23Henry Spencer's old library did not support unicode and
24had some other bugs that were fixed by this one, and
25the license was incompatible with the wxWindows license
26and the gpl.
27
161c73a3
RN
28Regular Expression syntax documentation is in re_syntax.n.
29Programming information (from older regex, but with
30the function wrappers implemented in the wxWindows
31version, the usage is somewhat the same) is in regex.3.
32
e970653a 33Modifications made by the wxWindows team are not licensed.
13c3eab7 34Contact - Ryan Norton <wxprojects@comcast.net>
e970653a
RN
35
36The original readme (from the TCL distribution) follows:
37
07dcc217
VZ
38alpha3.8 release.
39Tue Aug 10 15:51:48 EDT 1999
40henry@spsystems.net (formerly henry@zoo.toronto.edu)
41
42See WHATSNEW for change listing.
43
44installation notes:
45--------
46Read the comments at the beginning of Makefile before running.
47
48Utils.h contains some things that just might have to be modified on
49some systems, as well as a nested include (ugh) of <assert.h>.
50
51The "fake" directory contains quick-and-dirty fakes for some header
52files and routines that old systems may not have. Note also that
53-DUSEBCOPY will make utils.h substitute bcopy() for memmove().
54
55After that, "make r" will build regcomp.o, regexec.o, regfree.o,
56and regerror.o (the actual routines), bundle them together into a test
57program, and run regression tests on them. No output is good output.
58
59"make lib" builds just the .o files for the actual routines (when
60you're happy with testing and have adjusted CFLAGS for production),
61and puts them together into libregex.a. You can pick up either the
62library or *.o ("make lib" makes sure there are no other .o files left
63around to confuse things).
64
65Main.c, debug.c, split.c are used for regression testing but are not part
66of the RE routines themselves.
67
68Regex.h goes in /usr/include. All other .h files are internal only.
69--------