summaryrefslogtreecommitdiffstats
path: root/generic/regcomp.c
Commit message (Collapse)AuthorAgeFilesLines
* Add focussed stack limiting to the RE compiler. Tuning might not yet be rightdkf2008-07-011-1/+1
| | | | but it passes everything normally checked in the test suite. [Bug 1905562]
* better line breaks in debug outputdgp2007-11-151-1/+1
|
* Eliminate multi-char collating element code completely. Simplifies the codedkf2007-11-141-369/+14
| | | | | quite a bit. If people still want the full code, it will remain on the 8.4 branch. [Bug 1831425]
* Comment/#ifdef out the multi-char collating element support code.dkf2007-11-141-11/+28
| | | | We never used or supported it. [Bug 1831425]
* * generic/regcomp.c: Convert optst() from expensive no-op to adgp2007-11-131-0/+10
| | | | cheap no-op.
* Minor cleanup of RE compiler code, gradually gradually making it more Tcl-ish.dkf2007-09-101-162/+157
|
* Improve const-correctness of RE compilerdkf2007-04-191-24/+24
|
* various "const" additions, in line with TIP #27nijtmans2007-02-201-9/+9
|
* Arrange for RE engine workspace to be held in TSD. This is safe, lessdkf2007-01-101-3/+9
| | | | C-stack-hungry than before, and faster than just using heap allocation.
* changed last commit - ifdef'ing out unused mcce (multi char collationMiguel Sofer2006-09-271-5/+45
| | | | elements) code.
* * generic/regc_cvec.c (addmcce):Miguel Sofer2006-09-271-0/+5
| | | | | | | | * generic/regcomp.c (compile): the static function addmcce does nothing when called with two NULL pointers; the only call is by compile with two NULL pointers (regcomp.c #includes regc_cvec.c). The whole thing is now ifdef'ed out with the macro REGEXP_ADDMCCE_UNUSED. This also silences coverity's #7.
* ANSIfy the RE compiler.dkf2005-11-091-1612/+1884
|
* ANSIfy; generic/*.c now all done except for test codedkf2005-11-021-133/+133
|
* * generic/regcomp.c (stid): correct minor pointer size errorhobbs2004-07-021-2/+2
|
* Fixed code that splits RE engine states into "progress" and "no-progress" ↵pvgoran2003-11-151-2/+6
| | | | (bugs 505048, 230589, 840258 and 504785).
* * generic/regc_color.c:hobbs1999-10-131-18/+14
| | | | | | | | | | | | | | | | * generic/regc_cvec.c: * generic/regc_lex.c: * generic/regc_locale.c: * generic/regcomp.c: * generic/regcustom.h: * generic/regerrs.h: * generic/regex.h: * generic/regexec.c: * generic/regguts.h: * generic/tclRegexp.c: * generic/tclTest.c: * tests/reg.test: updated to Henry Spencer's new regexp engine (mid-Sept 99). Should greatly reduce stack space reqs.
* removed unreferenced variable from regcomp.credman1999-08-101-1/+0
|
* * generic/regc_nfa.c:stanton1999-08-051-51/+77
| | | | | | | | | * generic/regcomp.c: * generic/rege_dfa.c: * generic/regexec.c: * generic/regguts.h: Applied patches supplied by Henry Spencer to greatly enhance the performance of certain classes of regular expressions. [Bug: 2440, 2447]
* * generic/regcomp.c: lintstanton1999-06-171-1/+1
| | | | | | | | * 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-15/+45
| | | | | | | | | | | | | | | | | | | | | | | | * 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/+2124