summaryrefslogtreecommitdiffstats
path: root/tests/regexp.test
Commit message (Collapse)AuthorAgeFilesLines
* Merge 8.6jan.nijtmans2020-09-041-1/+1
|\
| * Let all test-cases load the "tcltest" package the same way. Depend on ↵jan.nijtmans2020-09-041-1/+1
| | | | | | | | tcltest 2.5, since we never test with earlier tcltest versions
* | Merge 8.6jan.nijtmans2020-08-291-0/+11
|\ \ | |/
| * merge 8.5sebres2020-08-281-1/+8
| |\
| | * tests/regexp.test: more tests for -indices by multi-byte utf-8 (considering ↵sebres2020-08-281-1/+8
| | | | | | | | | | | | -start position now)
| * | merge 8.5sebres2020-08-281-0/+4
| |\ \ | | |/
| | * tests/regexp.test: added missing test that cover indices if running on ↵sebres2020-08-281-0/+4
| | | | | | | | | | | | string containing multi-byte utf-8 chars (de/ru, byte offsets != char offsets)
| | * Backout the contributed patch memaccounting from Postgres since it changesdgp2016-02-011-1/+1
| | | | | | | | | the protections incompatibly and causes established tests to crash.
* | | Convert many test-cases to modern test syntaxjan.nijtmans2020-03-141-90/+90
| | |
* | | Add [regsub -command] case that wasn't actively tested for.dkf2017-06-221-0/+4
| | |
* | | Testing for some error cases.dkf2017-02-181-0/+6
| | |
* | | Add more representation smashing testing and a memleak test.dkf2017-02-181-0/+29
| | |
* | | Stop problems with representation smashes.dkf2017-02-171-0/+6
| | |
* | | Switch to using command prefixes properly. This is quite a bit faster.dkf2017-02-171-1/+1
| | |
* | | Proposed implementation of [regsub -command].dkf2017-02-111-1/+21
| | |
* | | Eliminate exess spacings in many test-casesjan.nijtmans2016-03-101-5/+5
|/ /
* | [1080042][8f245009b0] Big bundle of regexp engine fixes and improvements ↵dgp2015-10-211-1/+1
|\ \ | |/ | | | | contributed from Tom Lane of the postgres project.
| * Adaptation of re-memaccounting.patch from Tom Lane @postgres.dgp2015-10-201-1/+1
| |
* | [f0f876c141] Improve consistency in error messages.dkf2014-06-171-8/+8
| |
* | [6585b21ca8] [regexp {(\w).*?\1} abb] failed to match. Thanks to Tom Lane ↵dgp2013-07-261-0/+4
|\ \ | |/ | | | | for passing on the discovery in Postgres.
| * [6585b21ca8] [regexp {(\w).*?\1} abb] failed to match.dgp2013-07-261-0/+4
| | | | | | Thanks to Tom Lane for passing on the discovery in Postgres.
* | 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.dgp2013-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.jan.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() failuredgp2013-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.