diff options
author | stanton <stanton> | 1998-11-04 04:39:51 (GMT) |
---|---|---|
committer | stanton <stanton> | 1998-11-04 04:39:51 (GMT) |
commit | 89fbe663adddd77c676a1ab1139bb3c6e5c83e5a (patch) | |
tree | 5bea621521ff02de3b4373621910c8c6a3faf4c7 /generic/tcl.h | |
parent | cb753ddd702424bc449165b39d0c9ddd46413c13 (diff) | |
download | tcl-89fbe663adddd77c676a1ab1139bb3c6e5c83e5a.zip tcl-89fbe663adddd77c676a1ab1139bb3c6e5c83e5a.tar.gz tcl-89fbe663adddd77c676a1ab1139bb3c6e5c83e5a.tar.bz2 |
Merged Henry's latest changes to add support for character ranges
in cvec data type
Added support for Unicode character classes in regular expressions
We now support the following character classes:
alnum, alpha, blank, cntrl, digit, graph, lower,
print, punct, space, upper, xdigit
These all follow the example set by the GNU regular expression package
for Java except that "digit" only matches the ASCII '0'-'9'
characters.
Renamed tclUtf.h to tclUniData.c
Diffstat (limited to 'generic/tcl.h')
-rw-r--r-- | generic/tcl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tcl.h b/generic/tcl.h index efb1e24..319e3ba 100644 --- a/generic/tcl.h +++ b/generic/tcl.h @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tcl.h,v 1.1.2.3 1998/10/06 20:39:30 rjohnson Exp $ + * RCS: @(#) $Id: tcl.h,v 1.1.2.4 1998/11/04 04:39:52 stanton Exp $ */ #ifndef _TCL @@ -1667,11 +1667,11 @@ EXTERN int Tcl_RecordAndEvalObj _ANSI_ARGS_((Tcl_Interp *interp, EXTERN Tcl_RegExp Tcl_RegExpCompile _ANSI_ARGS_((Tcl_Interp *interp, char *string)); EXTERN int Tcl_RegExpExec _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_RegExp regexp, CONST char *string, + Tcl_RegExp re, CONST char *string, CONST char *start)); EXTERN int Tcl_RegExpMatch _ANSI_ARGS_((Tcl_Interp *interp, char *string, char *pattern)); -EXTERN void Tcl_RegExpRange _ANSI_ARGS_((Tcl_RegExp regexp, +EXTERN void Tcl_RegExpRange _ANSI_ARGS_((Tcl_RegExp re, int index, char **startPtr, char **endPtr)); EXTERN void Tcl_RegisterChannel _ANSI_ARGS_((Tcl_Interp *interp, Tcl_Channel chan)); |