summaryrefslogtreecommitdiffstats
path: root/tests/regexp.test
Commit message (Collapse)AuthorAgeFilesLines
* 3610026 Stop crash when the number of "colors" in a regular expressiondgp2013-04-081-0/+11
|\ | | | | | | overflows a short int. Thanks to Heikki Linnakangas for the report and the patch.
| * 3610026 Stop crash when the number of "colors" in a regular expressiondgp2013-04-081-0/+11
| |\ | | | | | | | | | overflows a short int. Thanks to Heikki Linnakangas for the report and the patch.
| | * Demand the error message indicating the purpose of the test.bug_3610026dgp2013-04-081-1/+1
| | |
| | * 3610026 Stop segfault when regexp overflows color limits.dgp2013-04-081-0/+11
| | |
| | |
| \ \
*-. \ \ Somewhat tidier, less daunting test.dgp2013-02-271-141/+40
|\ \ \ \ | | |/ /
| | * | Somewhat tidier, less daunting test.dgp2013-02-271-141/+40
| | |\ \ | |/ / / | | | _
| | * A bit more tidiness expressing the new test expression.dgp2013-02-271-2/+35
| | |
| | * Convert test expression into less imposing form.dgp2013-02-271-3/+7
| | |
| * | Wrap test-case over multiple linesjan.nijtmans2013-02-271-1/+139
| |\ \
* | \ \ Wrap test-case over multiple linesjan.nijtmans2013-02-271-1/+139
|\ \ \ \ | | |/ / | |/| |
| * | | Wrap test-case over multiple lines.off_8_4_branchjan.nijtmans2013-02-271-1/+139
| | |/ | |/|
* | | [Bug 3606139]: missing error check allows regexp to crash Tcl. Thanks to Tom ↵jan.nijtmans2013-02-271-0/+5
|\ \ \ | | |/ | |/| | | | Lane for providing the test-case and the patch.
| * | [Bug 3606139]: missing error check allows regexp to crash Tcl. Thanks to Tom ↵jan.nijtmans2013-02-271-0/+5
| |\ \ | | |/ | | | | | | Lane for providing the test-case and the patch.
| | * [Bug 3606139]: missing error check allows regexp to crash Tcl. Thanks to Tom ↵jan.nijtmans2013-02-271-0/+5
| | | | | | | | | | | | Lane for providing the test-case and the patch.
* | | 3604074 Fix regexp optimization to stop hanging on the expressiondgp2013-02-151-0/+4
|\ \ \ | |/ / | | | ((((((((a)*)*)*)*)*)*)*)* . Thanks to Bjørn Grathwohl for discovery.
| | |
| | \
| *-. \ 3604074 Fix regexp optimization to stop hanging on the expressiondgp2013-02-151-0/+4
| |\ \ \ | | | |/ | | | | ((((((((a)*)*)*)*)*)*)*)* . Thanks to Bjørn Grathwohl for discovery.
| | | * revise test numbering for forward mergingdgp2013-02-151-1/+4
| | |/
| | * New branch bug-3604074 with improved patch to correct fixempties() failurebug_3604074dgp2013-02-141-1/+4
| | | | | | | | | to converge.
* | | Use the error messages generated by the variable management code rather thandkf2011-03-281-21/+26
| | | | | | | | | 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.
| | * * generic/regc_nfa.c: Fixed infinite loop in the regexp compilerdgp2007-11-151-1/+7
| | | | | | | | | | | | | | | | | | | | | * generic/regcomp.c: [Bug 1810038]. Corrected looping logic in * tests/regexp.test: fixempties() to avoid wasting time walking a list of dead states [Bug 1832612]. Convert optst() from expensive no-op to a cheap no-op. Improve newline usage in debug output.
| | * regsub fixvincentdarley2003-10-141-1/+13
| | |
| | * * tests/regexp.test: Matched [makeFile] with [removeFile].dgp2003-10-071-6/+10
| | | | | | | | | | | | * tests/regexpComp.test: [Bug 675652]
| | * backport of regsub empty string fixesvincentdarley2003-06-171-1/+41
| | |
| * | * generic/tclCmdMZ.c (Tcl_RegexpObjCmd): [Bug 2826551, Patch 2948425]:dkf2010-08-121-18/+246
| | | | | | | | | | | | Backport of updates to make handling of RE line anchors correct.
| * | * tests/regexp.test, tests/regexpComp.test: correct re2glob ***=hobbs2008-08-211-1/+26
| | | | | | | | | | | | | | | * generic/tclUtil.c (TclReToGlob): translation from exact to anywhere-in-string match. [Bug 2065115]
* | | * tests/regexp.test: Add test cases back ported frommdejong2010-02-211-1/+111
| | | | | | | | | | | | Jacl regexp work.
* | | Tcl Bug 2826551 regexp bugs related to -all -line and -start and newlinesdkf2010-02-111-25/+279
| | |
* | | * tests/regexp.test: Added check for error message frommdejong2009-09-211-1/+13
| | | | | | | | | | | | | | | unbalanced [] in regexp. Added additional simple test cases of basic regsub command.
* | | * tests/regexp.test, tests/regexpComp.test: correct re2glob ***=hobbs2008-08-211-1/+26
| | | | | | | | | | | | | | | * 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-3/+3
| | |
* | | fix [2021443] inconsistant "wrong # args" messages (follow-up)nijtmans2008-07-211-7/+7
|/ /
* | * generic/tclCompCmds.c (TclCompileRegexpCmd): TCL_REG_NOSUB cannothobbs2007-12-231-1/+4
| | | | | | | | | | * tests/regexp.test (regexp-22.2): be used because it * tests/regexpComp.test: [Bug 1857126] disallows backrefs.
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | * generic/regc_nfa.c: Fixed infinite loop in the regexp compiler.dgp2007-11-151-1/+6
| | | | | | | | [Bug 1810038].
* | Merged kennykb-numerics-branch back to the head; TIPs 132 and 232Kevin B Kenny2005-05-101-1/+1
| |
* | TIP#176 IMPLEMENTATION [Patch 1165695]dgp2005-04-291-3/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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:
* | regsub fixvincentdarley2003-10-141-1/+14
| |
* | * tests/regexp.test: Matched [makeFile] with [removeFile].dgp2003-10-071-6/+10
| | | | | | | | * tests/regexpComp.test: [Bug 675652]
* | regsub empty string fixes, and windows buildvincentdarley2003-06-171-1/+41
|/
* * Cleaned up, constrained, and reduced the amount of [exec] usagedgp2002-07-101-5/+6
| | | | in the test suite.
* Made many tests work properly when the current directory is not writable.dkf2002-07-051-3/+2
| | | | Added targets to unix/Makefile.in to facilitate testing of this situation.
* couple extra testshobbs2002-03-011-1/+11
|
* Added TIP#76 implementation, docs + tests.dkf2002-02-221-8/+20
|
* extra code coverage caseshobbs2002-02-071-1/+4
|
* test case for bug #461322hobbs2001-09-191-1/+10
|
* Fix for bug #219232 (submatch errors with regexp -all -inline -indices)dkf2001-06-121-1/+4
|
* * tests/regexp.test (regexp-19.1):hobbs2001-03-281-15/+5
| | | | | * generic/tclCmdMZ.c (Tcl_RegsubObjCmd): fixed handling of nulls in subspec value.