diff options
author | hobbs <hobbs@noemail.net> | 2007-11-12 02:07:18 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2007-11-12 02:07:18 (GMT) |
commit | 96f32e2cf531e6fb3106037002fbcc174599138b (patch) | |
tree | c7f005156cbe08f8e11d6845d4a71f991dc5b488 /generic/tclRegexp.h | |
parent | ff2dca6c1b1408f8493028ae009f2a6f36f5cffb (diff) | |
download | tcl-96f32e2cf531e6fb3106037002fbcc174599138b.zip tcl-96f32e2cf531e6fb3106037002fbcc174599138b.tar.gz tcl-96f32e2cf531e6fb3106037002fbcc174599138b.tar.bz2 |
* generic/tclCompCmds.c, generic/tclCompile.c, generic/tclCompile.h:
* generic/tclExecute.c, generic/tclInt.decls, generic/tclIntDecls.h:
* generic/tclRegexp.c, generic/tclRegexp.h: Add INST_REGEXP and fully
* generic/tclStubInit.c, generic/tclUtil.c: compiled [regexp] for the
* tests/regexpComp.test: [Bug 1830166] simple cases. Also
added TclReToGlob function to convert RE to glob patterns and use
these in the possible cases.
FossilOrigin-Name: fcf44fdfdf10ae322ea63afab67b2602aff2e6dc
Diffstat (limited to 'generic/tclRegexp.h')
-rw-r--r-- | generic/tclRegexp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclRegexp.h b/generic/tclRegexp.h index 1515225..cf95445 100644 --- a/generic/tclRegexp.h +++ b/generic/tclRegexp.h @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclRegexp.h,v 1.13 2005/10/12 23:55:25 dkf Exp $ + * RCS: @(#) $Id: tclRegexp.h,v 1.14 2007/11/12 02:07:20 hobbs Exp $ */ #ifndef _TCLREGEXP @@ -32,6 +32,7 @@ typedef struct TclRegexp { * subexpressions. */ CONST char *string; /* Last string passed to Tcl_RegExpExec. */ Tcl_Obj *objPtr; /* Last object passed to Tcl_RegExpExecObj. */ + Tcl_Obj *globObjPtr; /* Glob pattern rep of RE or NULL if none. */ regmatch_t *matches; /* Array of indices into the Tcl_UniChar * representation of the last string matched * with this regexp to indicate the location |