Files
wxWidgets/src/regex
Vadim Zeitlin 3f66f6a5b3 Remove all lines containing cvs/svn "$Id$" keyword.
This keyword is not expanded by Git which means it's not replaced with the
correct revision value in the releases made using git-based scripts and it's
confusing to have lines with unexpanded "$Id$" in the released files. As
expanding them with Git is not that simple (it could be done with git archive
and export-subst attribute) and there are not many benefits in having them in
the first place, just remove all these lines.

If nothing else, this will make an eventual transition to Git simpler.

Closes #14487.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-26 16:02:46 +00:00
..
2011-01-27 11:37:37 +00:00
2011-01-27 11:37:37 +00:00
2011-02-03 10:59:50 +00:00
2011-01-27 11:37:37 +00:00

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.