summaryrefslogtreecommitdiffstats
path: root/tests/reg.test
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate exess spacings in many test-casesjan.nijtmans2016-03-101-3/+3
|
* [1080042][8f245009b0] Big bundle of regexp engine fixes and improvements ↵dgp2015-10-211-3/+56
|\ | | | | | | contributed from Tom Lane of the postgres project.
| * Adapted new tests contributed from Tom Lane @postgres.tgl_pg_redgp2015-10-211-0/+28
| |
| * Adaptation of the patch re-fixconstraintloops.patch fromdgp2015-10-191-0/+25
| | | | | | http://www.postgresql.org/message-id/19394.1444865029@sss.pgh.pa.us
* | [1115587][0e0e150e49] Major fix for regexp handling of quantified backrefs.dgp2015-09-211-1/+9
| | | | | | Contributed by Tom Lane from the Postgres project.
* | [1905562] [8d2c0da36d] Raise the recursion limits on regexps to allowdgp2013-08-011-0/+3
| | | | | | | | existing regexps "in the wild" to continue working with Tcl 8.6. Latest example comes from DejaGnu.
* | [3603557]: Increase the maximum depth of recursion used when duplicating andkf2013-02-081-0/+75
| | | | | | | | | | automaton in response to encountering a "wild" RE that hit the previous limit. Allow the limit (DUPTRAVERSE_MAX_DEPTH) to be set by defining its value in the Makefile. Problem reported by Jonathan Mills.
* | No longer build tcltest.exe to run the tests,but use tclsh86.exe in ↵jan.nijtmans2012-07-291-0/+3
| | | | | | | | combination with tcltest86.dll to do that (Windows only)
* | Add tests relating to bug 1115587. The bug itself still exists at this point.dkf2012-02-231-30/+33
|\ \ | |/
| * Add tests relating to bug 1115587. The bug itself still exists at this point.dkf2012-02-231-30/+33
| |
* | TIP 388 implementationjan.nijtmans2011-08-121-3/+12
|/
* 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.
| * reduce reg-33.14 space used to prevent stack segfaulthobbs2008-05-261-2/+2
| |
| * Fixes for problems created when processing regular expressions thatdkf2007-12-181-1/+14
| | | | | | | | | | | | | | generate very large automata. An enormous number of thanks to Will Drewry <wad@google.com>, Tavis Ormandy <taviso@google.com>, and Tom Lane <tgl@sss.pgh.pa.us> from the Postgresql crowd for their help in tracking these problems down. [Bug 1810264]
| * * tests/reg.test (reg-32.*): Added missing testregexp constraints.dgp2004-11-271-5/+5
| |
| * * generic/regcomp.c: Backported regexp bug fixes and tests. Thanksdgp2003-11-171-1/+136
| | | | | | | | | | * generic/tclTest.c: to Pavel Goran and Vince Darley. * tests/reg.test: [Bugs 230589, 504785, 505048, 703709, 840258]
| * * tests/reg.test: Corrected duplicate test names.dgp2003-10-061-2/+2
| | | | | | | | * tests/resource.test: [Bugs 710370, 710358]
* | Test hygiene for the ::tmp variabledgp2009-10-291-5/+9
| |
* | Added workaround for [Bug 1905562]dkf2008-03-191-2/+3
| |
* | Fixes for problems created when processing regular expressions thatdkf2007-12-181-1/+10
| | | | | | | | | | | | | | generate very large automata. An enormous number of thanks to Will Drewry <wad@google.com>, Tavis Ormandy <taviso@google.com>, and Tom Lane <tgl@sss.pgh.pa.us> from the Postgresql crowd for their help in tracking these problems down. [Bug 1810264]
* | * doc/ParseCmd.3, doc/Tcl.n, doc/eval.n, doc/exec.n:hobbs2006-11-031-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/fconfigure.n, doc/interp.n, doc/unknown.n: * library/auto.tcl, library/init.tcl, library/package.tcl: * library/safe.tcl, library/tm.tcl, library/msgcat/msgcat.tcl: * tests/all.tcl, tests/basic.test, tests/cmdInfo.test: * tests/compile.test, tests/encoding.test, tests/execute.test: * tests/fCmd.test, tests/http.test, tests/init.test: * tests/interp.test, tests/io.test, tests/ioUtil.test: * tests/iogt.test, tests/namespace-old.test, tests/namespace.test: * tests/parse.test, tests/pkg.test, tests/pkgMkIndex.test: * tests/proc.test, tests/reg.test, tests/trace.test: * tests/upvar.test, tests/winConsole.test, tests/winFCmd.test: * tools/tclZIC.tcl: * generic/tclParse.c (Tcl_ParseCommand): Replace {expand} with {*} officially (TIP #293). Leave -DALLOW_EXPAND=0|1 option to keep {expand} syntax for transition users. [Bug 1589629]
* | Major simplification of reg.test to de-Spencer it somewhat.dkf2004-11-051-744/+672
| | | | | | | | It's still cryptic, but perhaps not quite so bad now. :^)
* | Fix constraints so can test with tclsh as well as tcltest [Bug 736431]dkf2004-06-241-12/+12
| |
* | * tests/reg.test: Added tests for [Bugs 230589, 504785, 505048, 840258]dgp2003-11-171-1/+48
| | | | | | | | recently fixed by 2003-11-15 commit to regcomp.c by Pavel Goran.
* | * doc/ParseCmd.3: Implementation of TIP 157. Adds recognitiondgp2003-11-141-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/Tcl.n: of the new leading {expand} syntax on words. * generic/tcl.h: Parses such words as the new Tcl_Token type * generic/tclBasic.c: TCL_TOKEN_EXPAND_WORD. Updated Tcl_EvalEx * generic/tclCompile.c: and the bytecode compiler/execution engine * generic/tclCompile.h: to recognize the new token type. New opcodes * generic/tclExecute.c: INST_LIST_VERIFY and INST_INVOKE_EXP and a new * generic/tclParse.c: operand type OPERAND_ULIST1 are defined. Docs * generic/tclTest.c: and tests are included. * tests/basic.test: * tests/compile.test: * tests/parse.test: * library/auto.tcl: Replaced several [eval]s used to perform * library/package.tcl: argument expansion with the new syntax. * library/safe.tcl: In the test files lindex.test and lset.test, * tests/cmdInfo.test: replaced use of [eval] to force direct * tests/encoding.test: string evaluation with use of [testevalex] * tests/execute.test: which more directly and robustly serves the * tests/fCmd.test: same purpose. * tests/http.test: * tests/init.test: * tests/interp.test: * tests/io.test: * tests/ioUtil.test: * tests/iogt.test: * tests/lindex.test: * tests/lset.test: * tests/namespace-old.test: * tests/namespace.test: * tests/pkg.test: * tests/pkgMkIndex.test: * tests/proc.test: * tests/reg.test: * tests/trace.test: * tests/upvar.test: * tests/winConsole.test: * tests/winFCmd.test:
* | * tests/reg.test: Corrected duplicate test names.dgp2003-10-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | * tests/resource.test: [Bugs 710370, 710358] * tests/dict.test: * tests/dict.test: Updated [package require tcltest] lines to * tests/fileSystem.test: indiciate that these test files * tests/lrepeat.test: use features of tcltest 2. [Bug 706114] * tests/notify.test: * tests/parseExpr.test: * tests/unixNotfy.test: * tests/winDde.test:
* | fix 5 small filesystem bugs, and some typosvincentdarley2003-04-111-1/+89
|/
* Dump junk spaces...dkf2002-07-291-3/+3
|
* Fixes for regexp issues raised in [Bug 578363].dkf2002-07-291-3/+9
| | | | | Lots of thanks to pvgoran@users.sf.net for tracking them down! Also made the RE files touched meet the Tcl Engineering Guidelines a bit better (they've a long way to go, but this is a start...)
* * Corrections to tcltest and the Tcl test suite so that a testdgp2002-06-221-5/+5
| | | | | | | with options -constraints knownBug -limitConstraints 1 only tests the knownBug tests. Mostly involves replacing direct access to the testConstraints array with calls to the testConstraint command (which requires tcltest version 2).
* * tests/*.test: Changed all occurances of "namespace importericm2000-04-101-2/+2
| | | | ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948].
* * tests/reg.test (matchexpected): corrected tests to use tcltesthobbs2000-04-101-18/+27
| | | | constraint types to skip certain tests.
* * tests/reg.test: updated to Henry Spencer's new regexp enginehobbs1999-10-131-95/+125
| | | | (mid-Sept 99). Should greatly reduce stack space reqs.
* * tests/reg.test: Added test for REG_EXPECT bug fixed by Henry'sstanton1999-08-051-1/+2
| | | | patch.
* * win/Makefile.in: Added tcltest target so runtest worksstanton1999-07-081-1/+3
| | | | | | | | properly. Added missing names to the clean/distclean targets. * tests/reg.test: * generic/rege_dfa.c: Applied fix supplied by Henry Spencer for bug in DFA state caching under lookahead conditions. [Bug: 2318]
* Changed the tests to use the testConstraints array that thejenn1999-07-011-2/+2
| | | | test harness uses instead of the old name (testConfig).
* Fixed style problems in many of the test files.rjohnson1999-06-261-2/+2
| | | | Fixed bug in pkg.test where defs.tcl was still being used.
* Modified the tests to use the package tcltestjenn1999-06-261-2/+3
|
* * tests/reg.test:stanton1999-06-251-1/+5
| | | | * generic/regexec.c: Fixed bugs in non-greedy quantifiers.
* * generic/regcomp.c: lintstanton1999-06-171-1/+4
| | | | | | | | * tests/reg.test: * generic/regex.h: * generic/regc_lex.c: Added REG_BOSONLY flag to allow Expect to iterate through a string an only find matches that start at the current position within the string.
* * tests/reg.test:stanton1999-06-021-11/+50
| | | | | | | | | | | | | | | | | | | | | | | | * generic/regc_color.c: * generic/regc_cvec.c: * generic/regc_lex.c: * generic/regc_locale.c: * generic/regc_nfa.c: * generic/regcomp.c: * generic/regcustom.h: * generic/rege_dfa.c: * generic/regerror.c: * generic/regerrs.h: * generic/regex.h: * generic/regexec.c: * generic/regfree.c: * generic/regfronts.c: * generic/regguts.h: * generic/tclCmdMZ.c: * generic/tclRegexp.c: * generic/tclRegexp.h: * generic/tclTest.c: Applied Henry Spencer's latest regexp patches that fix an infinite loop bug and add support for testing whether a string could match with additional input. [Bug: 2117]
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-0/+905