summaryrefslogtreecommitdiffstats
path: root/tests/regexpComp.test
Commit message (Collapse)AuthorAgeFilesLines
* Use the error messages generated by the variable management code rather thandkf2011-03-281-15/+20
| | | creating our own in [regexp] and [regsub].
* Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-2/+0
|\ | | | | cause more harm than good. Purged them (except in zlib files).
| * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
| |\ | | | | | | more harm than good. Purged them.
| | * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | | | | more harm than good. Purged them.
| | * * tests/appendComp.test: Backport test suite fixes of errorsdgp2004-10-281-131/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/autoMkindex.test: revealed by -singleproc 1 -debug 1 * tests/exec.test: options to make test. * tests/execute.test: * tests/interp.test: * tests/io.test: * tests/namespace.test: * tests/regexpComp.test: * tests/stringComp.test: * tests/unixInit.test: * tests/winPipe.test:
| | * * tests/regexp.test: Matched [makeFile] with [removeFile].dgp2003-10-071-5/+9
| | | | | | | | | | | | * tests/regexpComp.test: [Bug 675652]
| * | * generic/tclUtil.c (TclReToGlob): Added missing set of thedgp2008-08-221-9/+9
| | | | | | | | | | | | | | | *exactPtr value to really fix [Bug 2065115]. * tests/regexpComp.test: Correct duplicate test names.
| * | really fix translation to escape glob-sensitive charshobbs2008-08-211-0/+21
| | |
| * | * tests/regexp.test, tests/regexpComp.test: correct re2glob ***=hobbs2008-08-211-1/+38
| | | | | | | | | | | | | | | * generic/tclUtil.c (TclReToGlob): translation from exact to anywhere-in-string match. [Bug 2065115]
* | | * generic/tclUtil.c (TclReToGlob): Added missing set of thedgp2008-08-221-9/+9
| | | | | | | | | | | | | | | *exactPtr value to really fix [Bug 2065115]. * tests/regexpComp.test: Correct duplicate test names.
* | | really fix translation to escape glob-sensitive charshobbs2008-08-211-0/+21
| | |
* | | * tests/regexp.test, tests/regexpComp.test: correct re2glob ***=hobbs2008-08-211-1/+38
| | | | | | | | | | | | | | | * generic/tclUtil.c (TclReToGlob): translation from exact to anywhere-in-string match. [Bug 2065115]
* | | fix [2021443] inconsistant "wrong # args" messages (follow-up)nijtmans2008-07-211-2/+2
| | |
* | | fix [2021443] inconsistant "wrong # args" messages (follow-up)nijtmans2008-07-211-6/+6
|/ /
* | * generic/tclUtil.c (TclReToGlob): fix the handling of the lasthobbs2008-02-261-0/+16
| | | | | | | | | | * tests/regexpComp.test: star possibly being escaped in determining right anchor. [Bug 1902436]
* | eliminate duplicate test namesdgp2008-02-131-2/+2
| |
* | * generic/tclCompCmds.c (TclCompileRegexpCmd): TCL_REG_NOSUB cannothobbs2007-12-231-0/+12
| | | | | | | | | | * tests/regexp.test (regexp-22.2): be used because it * tests/regexpComp.test: [Bug 1857126] disallows backrefs.
* | * generic/tclCompCmds.c, generic/tclCompile.c, generic/tclCompile.h:hobbs2007-11-121-0/+76
| | | | | | | | | | | | | | | | | | * 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.
* | 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.