summaryrefslogtreecommitdiffstats
path: root/generic/regcomp.c
Commit message (Collapse)AuthorAgeFilesLines
* [Bug 3085863]: tclUniData 9 years oldnijtmans2010-10-181-1/+1
| | | | | | Added testcases for Unicode 6.0 FossilOrigin-Name: 66a4ae270ffd51b7674bf2f8d2be6b91b8d11260
* Don't use arrays of length 1, just use a single element then, it makes code ↵nijtmans2010-05-191-6/+6
| | | | | more readable. FossilOrigin-Name: d3074821cb266b7709e26b7e359e40462d983613
* 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] FossilOrigin-Name: 1ab85d8c7df2ba9745aba4ef87ae8afc26e9b04d
* better line breaks in debug outputdgp2007-11-151-1/+1
| | | FossilOrigin-Name: 7928b5f866ef13a301b7708c2cf0ee599287f462
* 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] FossilOrigin-Name: c3a6a6c85d822a4dbbad8d4cc48b0b7c6bf86148
* Comment/#ifdef out the multi-char collating element support code.dkf2007-11-141-11/+28
| | | | | | We never used or supported it. [Bug 1831425] FossilOrigin-Name: ca5f3f73b00c6e2d02631653ece13466a003e4f6
* * generic/regcomp.c: Convert optst() from expensive no-op to adgp2007-11-131-0/+10
| | | | | | cheap no-op. FossilOrigin-Name: c3453d7b63f249d715cfaf1269b7163255b7b61b
* Minor cleanup of RE compiler code, gradually gradually making it more Tcl-ish.dkf2007-09-101-162/+157
| | | FossilOrigin-Name: c0796474b5f1f76fa0ca646820e1c520e3decf93
* Improve const-correctness of RE compilerdkf2007-04-191-24/+24
| | | FossilOrigin-Name: cf122e81f894c9291c93945803adce7797118d19
* various "const" additions, in line with TIP #27nijtmans2007-02-201-9/+9
| | | FossilOrigin-Name: 81ea4e1335f3c78465e90ec021758c096ba9b544
* 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. FossilOrigin-Name: d29fdf3177fb86dc3a4072a91731bff106a5357b
* changed last commit - ifdef'ing out unused mcce (multi char collationmsofer2006-09-271-5/+45
| | | | | | elements) code. FossilOrigin-Name: aa894cbc17749b4dd598da96fab22d5ee205662f
* * generic/regc_cvec.c (addmcce):msofer2006-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. FossilOrigin-Name: fa0a132f0edc7fab8aeaae5b33e79093b21d837c
* ANSIfy the RE compiler.dkf2005-11-091-1612/+1884
| | | FossilOrigin-Name: afc463b61c4b6d7656b220694e75e3f2cd579e1d
* ANSIfy; generic/*.c now all done except for test codedkf2005-11-021-133/+133
| | | FossilOrigin-Name: 2ffae9b1718dd09c7d22c04da2b548d1b7b63c8c
* * generic/regcomp.c (stid): correct minor pointer size errorhobbs2004-07-021-2/+2
| | | FossilOrigin-Name: 5e68b3a970f454b23e68766dda5d021d5a7c72e5
* Fixed code that splits RE engine states into "progress" and "no-progress" ↵pvgoran2003-11-151-2/+6
| | | | | (bugs 505048, 230589, 840258 and 504785). FossilOrigin-Name: 47606ca977fee2f558333b2833e27db14b242cdf
* * 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. FossilOrigin-Name: 801921c81830b2e88cf056e287360955dcd7d0cb
* removed unreferenced variable from regcomp.credman1999-08-101-1/+0
| | | FossilOrigin-Name: be29d94a7c99a5d38e5230a13e6fa0a50a791b3e
* * 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] FossilOrigin-Name: c161cf02898f99f1fadbd1d0811d87aea37fbbc4
* * 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. FossilOrigin-Name: 12e2267e228caa36ded5dd8f95f90884cc182563
* * 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] FossilOrigin-Name: 96584c60d8cb01cfeb755d8fa10d149157c64005
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-0/+2124
FossilOrigin-Name: f3b32fb71c9011ac220779bd9dbe5617c9dc87d9