summaryrefslogtreecommitdiffstats
path: root/tests/reg.test
Commit message (Collapse)AuthorAgeFilesLines
* TIP 590: Recommend lowercase Package Namesjan.nijtmans2020-12-041-1/+1
|\
| * Case-sensitive package namesjan.nijtmans2020-11-031-1/+1
| |
* | Now that all Tcl source files are UTF-8 by default, we can use the ©-sign ↵jan.nijtmans2020-11-231-1/+1
|/ | | | whenever reasonable.
* Merge 8.6jan.nijtmans2020-09-141-1/+1
|\
| * Prevent the usage of the term safe/unsafe child. Suggested by Keith Nash. ↵jan.nijtmans2020-09-141-4/+4
| | | | | | | | | | Thanks! More usage of $index<0 in stead of $index==-1 consistantly
* | Merge 8.6jan.nijtmans2020-09-041-1/+2
|\ \ | |/
| * Let all test-cases load the "tcltest" package the same way. Depend on ↵jan.nijtmans2020-09-041-2/+2
| | | | | | | | tcltest 2.5, since we never test with earlier tcltest versions
* | simplify check for ::tcltest namespace in testcasesjan.nijtmans2020-07-161-1/+1
| |
* | Merge 8.6 (Except encoding-12.6 test-case still to be handled)jan.nijtmans2020-04-241-0/+1
|\ \ | |/
| * Backout [ 649f53b9f4]: This was not meant for 8.6jan.nijtmans2020-04-241-1/+2
| |
| * merge 8.5dgp2020-04-241-2/+1
| |\
| | * Fix [cc4d805771]: reg-13.17.error fails in 8.5 tipjan.nijtmans2020-04-241-2/+1
| | |
| | |
| | \
| *-. \ Merge from 8.5. Failing tests encoding-12.6, reg-13.3[34] appear to be realdgp2020-04-241-0/+1
| |\ \ \ | | | |/ | | | | failures reporting first contact with tests and code.
| | | * Revise tests to reflect fixed bug in RE parsing of \uHHHH escapes.dgp2020-04-241-1/+2
| | |/
* | | 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.dgp2015-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]