summaryrefslogtreecommitdiffstats
path: root/tests/regexpComp.test
Commit message (Collapse)AuthorAgeFilesLines
* TIP#176 IMPLEMENTATION [Patch 1165695]dgp2005-04-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclUtil.c: Extended TclGetIntForIndex to recognize index formats including end+integer and integer+/-integer. * generic/tclCmdMZ.c: Extended the -start switch of [regexp] and [regsub] to accept all index formats known by TclGetIntForIndex. * doc/lindex.n: Updated docs to note new index formats. * doc/linsert.n: * doc/lrange.n: * doc/lreplace.n: * doc/lsearch.n: * doc/lset.n: * doc/lsort.n: * doc/regexp.n: * doc/regsub.n: * doc/string.n: * tests/cmdIL.test: Updated tests. * tests/compile.test: * tests/lindex.test: * tests/linsert.test: * tests/lrange.test: * tests/lreplace.test: * tests/lsearch.test: * tests/lset.test: * tests/regexp.test: * tests/regexpComp.test: * tests/string.test: * tests/stringComp.test: * tests/util.test:
* * tests/unload.test (unload-3.1): Verify [pkgb_sub] does not exist.dgp2004-05-251-131/+131
| | | | | | * tests/stringComp.test: stop re-use of string.test test names * tests/regexpComp.test: stop re-use of regexp.test test names * tests/namespace.test (namespace-46.3): Verify [p] does not exist.
* * tests/regexp.test: Matched [makeFile] with [removeFile].dgp2003-10-071-5/+9
| | | | * tests/regexpComp.test: [Bug 675652]
* * generic/regexpComp.test: added tests 22.*hobbs2002-11-141-0/+20
| | | | | | | * generic/tclCompCmds.c (TclCompileRegexpCmd): add left and right anchoring (^ and $) recognition and check starting or ending .* to extend the number of REs that can be compiled to string match or string equal.
* * Cleaned up, constrained, and reduced the amount of [exec] usagedgp2002-07-101-4/+5
| | | | in the test suite.
* Made many tests work properly when the current directory is not writable.dkf2002-07-051-2/+1
| | | | Added targets to unix/Makefile.in to facilitate testing of this situation.
* * tests/regexpComp.test: updated regexp-11.[1-4] to match changeshobbs2002-02-221-7/+7
| | | | in regexp.test for new regsub syntax
* extra code coverage caseshobbs2002-02-071-10/+33
|
* * tests/regexpComp.test:hobbs2002-01-301-1/+21
| | | | | * generic/tclCompCmds.c (TclCompileRegexpCmd): enhanced to support -nocase and -- options.
* * tests/regexpComp.test (new):hobbs2002-01-291-0/+760
* generic/tclInt.h: * generic/tclBasic.c: added TclCompileRegexpCmd entry * generic/tclCompCmds.c (TclCompileStringCmd): corrected to return TCL_OUT_LINE_COMPILE instead of TCL_ERROR for parsing errors, so it only throws the error for runtime compile, in case the user modifies 'string'. (TclCompileRegexpCmd): first try at a byte-compiled regexp command. It handles static strings and ^$ bounded static strings. (TclCompileAppendCmd): made TclPushVarName call always use TCL_CREATE_VAR as numWords is always > 2 at that point.