summaryrefslogtreecommitdiffstats
path: root/generic/regcomp.c
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate some macros that are no longer used/needed.jan.nijtmans2016-11-251-6/+6
|
* [1080042][8f245009b0] Big bundle of regexp engine fixes and improvements ↵dgp2015-10-211-13/+28
|\ | | | | | | contributed from Tom Lane of the postgres project.
| * Adaptation of most of the re-mopup.patch from Tom Lane @ postgress.dgp2015-10-201-6/+6
| | | | | | Still should add the new tests.
| * Adaptation of re-memaccounting.patch from Tom Lane @postgres.dgp2015-10-201-0/+2
| |
| * Adaptation of re-better-pushpull.patch from Tom Lane @postgresdgp2015-10-201-2/+2
| |
| * Adaptation of re-better-fixempties.patch from Tom Lane @ postgres.dgp2015-10-201-4/+2
| |
| * Adaptation of re-oNsquared.patch from Tom Lane @ postgres.dgp2015-10-191-1/+9
| |
| * Adaptation of the patch re-fixconstraintloops.patch fromdgp2015-10-191-0/+7
| | | | | | http://www.postgresql.org/message-id/19394.1444865029@sss.pgh.pa.us
* | Align comment. Remove some end-of-line spacing. No functional changes.jan.nijtmans2015-09-281-1/+1
|\ \ | |/
* | [187d7f499b] Sync the regexp engine to the Postgres version.dgp2015-09-211-29/+46
| |
* | [1115587][0e0e150e49] Major fix for regexp handling of quantified backrefs.dgp2015-09-211-42/+55
| | | | | | Contributed by Tom Lane from the Postgres project.
* | [d7ea9f985][a3c3508599] Internal regexp fixes that cleanup and streamline.dgp2015-09-211-7/+9
|\ \ | |/
| * [d7ea9f9853] Contributed patch from tgl with Postgres.dgp2015-09-211-7/+9
| |
* | [818a1a51e4] Apply fixes from Andreas Seltenreich (reported to us by Tom ↵dkf2015-08-171-0/+3
|\ \ | |/ | | | | Lane) for handling low memory situations. Should not be reachable in Tcl due to ckalloc() panic policy.
| * [818a1a51e4] Apply fixes from Andreas Seltenreich (reported to us by Tom ↵dkf2015-08-171-0/+3
| | | | | | | | Lane) for handling low memory situations. Should not be reachable in Tcl due to ckalloc() panic policy.
* | Fix [df08482b042a16007f256bfbaaacfbe0def01074|df08482b04]: Double defined ↵jan.nijtmans2015-01-261-7/+7
|\ \ | |/ | | | | INFINITY in regguts.h
| * Fix [df08482b042a16007f256bfbaaacfbe0def01074|df08482b04]: Double defined ↵jan.nijtmans2015-01-261-7/+7
| | | | | | | | INFINITY in regguts.h
| * Use flag argument to combine copy(nonempty)* routines into copy* routines.dgp2013-03-061-5/+3
| |
| * New routine hasnonemptyout() for minor improvement to new fixempties().dgp2013-03-061-0/+1
| |
| * Contributed regexp engine patch from Tom Lane. Backports clean from trunk.dgp2013-03-051-1/+6
| |
* | Use flag argument to combine copy(nonempty)* routines into copy* routines.dgp2013-03-061-5/+3
| |
* | New routine hasnonemptyout() for minor improvement to new fixempties().dgp2013-03-061-0/+1
| |
* | Contributed patch from Tom Lane <tgl@users.sf.net>.dgp2013-03-051-1/+6
| | | | | | Rewrites parts of the regexp engine to avoid infinite loops.
* | [Bug 3606139]: missing error check allows regexp to crash Tcl. Thanks to Tom ↵jan.nijtmans2013-02-271-0/+2
|\ \ | |/ | | | | 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/+2
| |\ | | | | | | | | | 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/+2
| | | | | | | | | | | | Lane for providing the test-case and the patch.
| | * make some more internal tables constjan.nijtmans2012-04-231-12/+12
| | | | | | | | | On cygwin, install dll's in /usr/bin, not in /usr/lib
| | * [Bug 3464428] string is graph \u0120 is wrongjan.nijtmans2012-01-091-78/+9
| | |
| | * [Bug 3085863]: tclUniData 9 years oldnijtmans2010-10-231-2/+2
| | | | | | | | | | | | Upgrade everything to Unicode 6.0, except non-BMP characters > 0xFFFF
| | * * generic/regc_nfa.c: Fixed infinite loop in the regexp compilerdgp2007-11-151-9/+9
| | | | | | | | | | | | | | | | | | | | | * 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.
| | * * generic/regcomp.c (stid): correct minor pointer size errorhobbs2004-07-021-2/+2
| | |
| | * * generic/regcomp.c: Backported regexp bug fixes and tests. Thanksdgp2003-11-171-2/+6
| | | | | | | | | | | | | | | * generic/tclTest.c: to Pavel Goran and Vince Darley. * tests/reg.test: [Bugs 230589, 504785, 505048, 703709, 840258]
| * | [Bug 3085863]: tclUniData 9 years oldnijtmans2010-10-231-1/+1
| | | | | | | | | | | | Upgrade everything to Unicode 6.0, except non-BMP characters > 0xFFFF
* | | TIP 388 implementationjan.nijtmans2011-08-121-1/+1
| | |
* | | [Bug 3085863]: tclUniData 9 years oldnijtmans2010-10-181-1/+1
| | | | | | | | | | | | Added testcases for Unicode 6.0
* | | Don't use arrays of length 1, just use a single element then, it makes code ↵nijtmans2010-05-191-6/+6
| | | | | | | | | | | | more readable.
* | | 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
| |