wxWidgets/src/regex
Stefan Csomor efa4bab2d1 removing old codewarrior files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-05-03 18:24:15 +00:00
..
COPYRIGHT
descrip.mms
re_syntax.n
README
regc_color.c
regc_cvec.c
regc_lex.c
regc_locale.c
regc_nfa.c
regcomp.c
regcustom.h
rege_dfa.c
regerror.c
regerrs.h
regex.dsp
regex.h
regex.vcp
regexec.c
regfree.c
regfronts.c
regguts.h
splice.sh
tclUniData.c

wxWindows regex
---------------
This is a version of Henry Spencer's regex, which was taken from the
source of TCL (Toolkit Command Language).  It implements POSIX regular
expressions and also supports Unicode and some Perl5 extensions.

The modifications made by the wxWindows team are as follows:

regcustom.h
-----------
Types and constants appropriate for our use of the library are defined
here.

regex.h
-------
This is unmodified. Note though, that a portion of it (clearly marked)
is copied from regcustom.h as part of the build process.

regc_locale.c
-------------
This module provides character classifications.

The current version from Tcl supports only a Unicode build. The
original code from Henry Spencer, on the other hand, was ASCII only.
Therefore, in order to support both, code from the ASCII version has been
incorporated into the Unicode version, conditionally compiled depending
on wxUSE_UNICODE.

The only non-trivial dependencies were: Tcl_UniCharToUpper,
Tcl_UniCharToLower and Tcl_UniCharToTitle. The implementations of these
have also been incorporated (from Tcl). These in turn depend only the data
tables in tclUniData.c (which is unmodified). At some point wxWindows
may have it's own Unicode character classification code, at which point
these should be used instead.

Other dependencies (on Tcl_DString) have been eliminated using wxWindows
wxChar functions.

The ASCII version has also been extended to support character
classifications based on the current locale rather than ASCII only.