/[pcre]/code/trunk/pcre_compile.c
ViewVC logotype

Log of /code/trunk/pcre_compile.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 380 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 3 12:32:47 2009 UTC (5 years, 8 months ago) by ph10
File length: 203475 byte(s)
Diff to previous 371
The pattern (?(?=.*b)b|^) was incorrectly processed as requiring a match at the 
start of the subject or after a newline.


Revision 371 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 25 18:28:05 2008 UTC (6 years, 3 months ago) by ph10
File length: 202889 byte(s)
Diff to previous 369
Source tidies for 7.8-RC1 


Revision 369 - (view) (download) (annotate) - [select for diffs]
Modified Sun Aug 24 16:53:47 2008 UTC (6 years, 3 months ago) by ph10
File length: 202891 byte(s)
Diff to previous 360
Patch to reduce warnings from certain compilers.


Revision 360 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 9 20:00:28 2008 UTC (6 years, 4 months ago) by ph10
File length: 202621 byte(s)
Diff to previous 359
Fix CVE-2008-2371 (outer level option with alternatives caused crash).


Revision 359 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 9 16:20:19 2008 UTC (6 years, 4 months ago) by ph10
File length: 202680 byte(s)
Diff to previous 349
Add PCRE_CALL_CONVENTION for MSVC users; add some missing PCRE_EXP_DEFNs.


Revision 349 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 2 18:42:11 2008 UTC (6 years, 4 months ago) by ph10
File length: 202638 byte(s)
Diff to previous 345
Preliminary patch for upgraded Unicode Property support.


Revision 345 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 28 15:10:02 2008 UTC (6 years, 6 months ago) by ph10
File length: 202682 byte(s)
Diff to previous 342
Tidies for the 7.7-RC1 distribution.


Revision 342 - (view) (download) (annotate) - [select for diffs]
Modified Sun Apr 20 17:10:13 2008 UTC (6 years, 7 months ago) by ph10
File length: 202918 byte(s)
Diff to previous 341
Slight performance improvement by using the new OP_ALLANY opcode for cases of 
the metacharacter "." when DOTALL is set. Also, some tidies consequent upon its 
invention.


Revision 341 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 19 16:41:04 2008 UTC (6 years, 7 months ago) by ph10
File length: 202840 byte(s)
Diff to previous 340
Fix DFA (?!) bug; add support for JavaScript empty classes.


Revision 340 - (view) (download) (annotate) - [select for diffs]
Modified Fri Apr 18 20:00:21 2008 UTC (6 years, 7 months ago) by ph10
File length: 201856 byte(s)
Diff to previous 336
Fix incorrect error for patterns like /(?2)[]a()b](abc)/


Revision 336 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 12 15:59:03 2008 UTC (6 years, 7 months ago) by ph10
File length: 201134 byte(s)
Diff to previous 335
Added PCRE_JAVASCRIPT_COMPAT option.


Revision 335 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 12 14:36:14 2008 UTC (6 years, 7 months ago) by ph10
File length: 200753 byte(s)
Diff to previous 334
Do not discard subpatterns with {0} quantifiers, as they may be called as 
subroutines.


Revision 334 - (view) (download) (annotate) - [select for diffs]
Modified Fri Apr 11 15:48:14 2008 UTC (6 years, 7 months ago) by ph10
File length: 200213 byte(s)
Diff to previous 333
Fix bug in Oniguruma \g support.


Revision 333 - (view) (download) (annotate) - [select for diffs]
Modified Thu Apr 10 19:55:57 2008 UTC (6 years, 7 months ago) by ph10
File length: 200103 byte(s)
Diff to previous 327
Add Oniguruma syntax \g<...> and \g'...' for subroutine calls.


Revision 327 - (view) (download) (annotate) - [select for diffs]
Modified Sat Mar 8 19:38:30 2008 UTC (6 years, 8 months ago) by ph10
File length: 197114 byte(s)
Diff to previous 323
Added some missing "const"s to declarations of static tables in 
pcre_compile.c and pcre_dfa_exec.c.


Revision 323 - (view) (download) (annotate) - [select for diffs]
Modified Wed Mar 5 17:23:42 2008 UTC (6 years, 8 months ago) by ph10
File length: 197102 byte(s)
Diff to previous 309
Remove a line of dead code, identified by coverity and reported by Nuno Lopes.


Revision 309 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jan 21 15:22:09 2008 UTC (6 years, 10 months ago) by ph10
File length: 197155 byte(s)
Diff to previous 305
Tidies for 7.6-RC1 test release.


Revision 305 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jan 20 20:07:32 2008 UTC (6 years, 10 months ago) by ph10
File length: 197176 byte(s)
Diff to previous 300
Update copyright year to 2008.


Revision 300 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jan 14 19:43:19 2008 UTC (6 years, 10 months ago) by ph10
File length: 197176 byte(s)
Diff to previous 298
Fix buffer overrun for class with very many characters whose codepoints are 
above 255.


Revision 298 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 10 17:09:12 2008 UTC (6 years, 10 months ago) by ph10
File length: 196633 byte(s)
Diff to previous 295
Tidies for the 7.5 release.


Revision 295 - (view) (download) (annotate) - [select for diffs]
Modified Mon Dec 31 17:00:24 2007 UTC (6 years, 10 months ago) by ph10
File length: 196656 byte(s)
Diff to previous 286
Make POSIX character class parsing more like Perl.


Revision 286 - (view) (download) (annotate) - [select for diffs]
Modified Mon Dec 17 14:46:11 2007 UTC (6 years, 11 months ago) by ph10
File length: 195634 byte(s)
Diff to previous 285
Add .gz and .bz2 optional support to pcregrep.


Revision 285 - (view) (download) (annotate) - [select for diffs]
Modified Wed Dec 12 17:03:50 2007 UTC (6 years, 11 months ago) by ph10
File length: 195678 byte(s)
Diff to previous 282
Fix bad compiled code for things like /\pL{2}+/ in which a possessive 
quantifier with a fixed limit was applied to a character property.


Revision 282 - (view) (download) (annotate) - [select for diffs]
Modified Fri Dec 7 19:32:32 2007 UTC (6 years, 11 months ago) by ph10
File length: 195559 byte(s)
Diff to previous 276
Fix non-diagnosis of (?=a)(?R) (positive lookaheads not skipped when checking 
for an empty match).


Revision 276 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 21 15:39:20 2007 UTC (7 years ago) by ph10
File length: 195240 byte(s)
Diff to previous 275
Remove two redunant, never-reachable lines of code whose function had been 
moved.


Revision 275 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 21 15:35:09 2007 UTC (7 years ago) by ph10
File length: 195319 byte(s)
Diff to previous 274
s/backslash/backspace in two comments where it was wrong.


Revision 274 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 20 10:05:23 2007 UTC (7 years ago) by ph10
File length: 195319 byte(s)
Diff to previous 272
Change "alphameric" to "alphanumeric".


Revision 272 - (view) (download) (annotate) - [select for diffs]
Modified Sat Nov 17 16:53:53 2007 UTC (7 years ago) by ph10
File length: 195311 byte(s)
Diff to previous 270
Generalize wording for (?&) error as it also applies to \k'' and other cases.


Revision 270 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 16 19:55:16 2007 UTC (7 years ago) by ph10
File length: 195200 byte(s)
Diff to previous 269
Diagnose conditional numerical reference to a non-existent subpattern.


Revision 269 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 16 16:22:24 2007 UTC (7 years ago) by ph10
File length: 195027 byte(s)
Diff to previous 268
Improve error messages for (?+-a) and (?-+a).


Revision 268 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 15 10:28:09 2007 UTC (7 years ago) by ph10
File length: 194795 byte(s)
Diff to previous 265
Fix (?&) non-diagnosis bug and missing length check for (?&a) etc.


Revision 265 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 14 11:35:48 2007 UTC (7 years ago) by ph10
File length: 194331 byte(s)
Diff to previous 264
Fix negative POSIX class bug with Unicode characters.


Revision 264 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 13 11:07:16 2007 UTC (7 years ago) by ph10
File length: 194262 byte(s)
Diff to previous 243
Fix [\S] etc. bug in UTF-8 mode with characters > 255.


Revision 243 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 13 09:28:14 2007 UTC (7 years, 2 months ago) by ph10
File length: 193564 byte(s)
Diff to previous 240
Detrailed files for 7.4-RC1 test release.


Revision 240 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 11 15:47:20 2007 UTC (7 years, 2 months ago) by ph10
File length: 193604 byte(s)
Diff to previous 236
Refactoring to reduce the number of relocations in a shared library.


Revision 236 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 11 12:57:06 2007 UTC (7 years, 2 months ago) by ph10
File length: 191944 byte(s)
Diff to previous 231
<config.h> => "config.h" and also some cases of <pcre.h>.


Revision 231 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 11 11:15:33 2007 UTC (7 years, 2 months ago) by ph10
File length: 191944 byte(s)
Diff to previous 230
Add facility to make \R match only CR, LF, or CRLF.


Revision 230 - (view) (download) (annotate) - [select for diffs]
Modified Mon Sep 10 13:23:56 2007 UTC (7 years, 2 months ago) by ph10
File length: 191288 byte(s)
Diff to previous 227
(1) Move internal flags out of the options field, to make room.
(2) \r and \n must be explicit to trigger the special CRLF handline exception.
(3) (?J) at the start now sets JCHANGED as well as DUPNAMES.


Revision 227 - (view) (download) (annotate) - [select for diffs]
Modified Tue Aug 21 15:00:15 2007 UTC (7 years, 3 months ago) by ph10
File length: 190736 byte(s)
Diff to previous 226
Add (*CR) etc.


Revision 226 - (view) (download) (annotate) - [select for diffs]
Modified Tue Aug 21 11:46:08 2007 UTC (7 years, 3 months ago) by ph10
File length: 189989 byte(s)
Diff to previous 224
Don't advance by 2 if explicit \r or \n in the pattern. Add 
PCRE_INFO_HASCRORLF.


Revision 224 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 20 12:58:29 2007 UTC (7 years, 3 months ago) by ph10
File length: 190096 byte(s)
Diff to previous 223
Fix loop for group with possible zero repeat containing \p or \P.


Revision 223 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 20 11:07:53 2007 UTC (7 years, 3 months ago) by ph10
File length: 189555 byte(s)
Diff to previous 221
Fix loop for classes containing \p or \P and just one ascii character.


Revision 221 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 17 09:25:08 2007 UTC (7 years, 3 months ago) by ph10
File length: 189461 byte(s)
Diff to previous 220
Fix bad fix for repeated \p and \P.


Revision 220 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 16 13:29:39 2007 UTC (7 years, 3 months ago) by ph10
File length: 189301 byte(s)
Diff to previous 218
Tidies for 7.3-RC5 prerelease


Revision 218 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 16 10:13:23 2007 UTC (7 years, 3 months ago) by ph10
File length: 189364 byte(s)
Diff to previous 216
Fix several compile bugs involving repeated \p or \P items.


Revision 216 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 15 14:35:57 2007 UTC (7 years, 3 months ago) by ph10
File length: 187780 byte(s)
Diff to previous 215
Fixed compile-time loop for patterns like (?:[\PPa*]*){8,} (extended class 
inside group with unlimited repeat).


Revision 215 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 15 14:20:05 2007 UTC (7 years, 3 months ago) by ph10
File length: 187512 byte(s)
Diff to previous 213
Fixed overrun for missing ] with a forward reference, e.g. /(?1)\c[/.


Revision 213 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 15 11:34:14 2007 UTC (7 years, 3 months ago) by ph10
File length: 187479 byte(s)
Diff to previous 211
Add integer overflow tests to escape processing.


Revision 211 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 9 09:52:43 2007 UTC (7 years, 3 months ago) by ph10
File length: 187286 byte(s)
Diff to previous 210
Update UTF-8 validity check and documentation.


Revision 210 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 8 14:24:50 2007 UTC (7 years, 3 months ago) by ph10
File length: 187339 byte(s)
Diff to previous 208
Add Perl 5.10's backtracking verbs.


Revision 208 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 6 15:23:29 2007 UTC (7 years, 3 months ago) by ph10
File length: 185586 byte(s)
Diff to previous 206
Added a pcresyntax man page; tidied some others.


Revision 206 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 3 14:53:04 2007 UTC (7 years, 3 months ago) by ph10
File length: 185600 byte(s)
Diff to previous 205
Fix loop for null-matching condition nested in an outer unlimited repeat.


Revision 205 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 3 13:18:33 2007 UTC (7 years, 3 months ago) by ph10
File length: 185584 byte(s)
Diff to previous 202
Fix bugs with [\E] and [\Q\E].


Revision 202 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 3 09:44:26 2007 UTC (7 years, 3 months ago) by ph10
File length: 185235 byte(s)
Diff to previous 200
Refactor the integer overflow testing so as to avoid imposing an artificial 
limit on the size of subpatterns.


Revision 200 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 1 09:10:40 2007 UTC (7 years, 3 months ago) by ph10
File length: 183708 byte(s)
Diff to previous 199
Correct errors in previous patch; tidy for test release.


Revision 199 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jul 31 14:39:09 2007 UTC (7 years, 3 months ago) by ph10
File length: 183796 byte(s)
Diff to previous 195
Daniel's patch for config.h and Windows DLL declarations (not fully working).


Revision 195 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 30 13:23:28 2007 UTC (7 years, 3 months ago) by ph10
File length: 183655 byte(s)
Diff to previous 182
Add words about EBCDIC to doc and ./configure --help (somebody thought it might
be a useful option and tried it on an ASCII system). Fixed one missing table
entry for EBCDIC. 


Revision 182 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 13 15:09:54 2007 UTC (7 years, 5 months ago) by ph10
File length: 183655 byte(s)
Diff to previous 180
More document tidies, pre-release.


Revision 180 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 13 10:59:18 2007 UTC (7 years, 5 months ago) by ph10
File length: 183681 byte(s)
Diff to previous 178
Add auto-possessification for \h, \H, \v, \V.


Revision 178 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 13 08:44:34 2007 UTC (7 years, 5 months ago) by ph10
File length: 181949 byte(s)
Diff to previous 176
Add support for \h, \H, \v, \V.


Revision 176 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 11 13:48:37 2007 UTC (7 years, 5 months ago) by ph10
File length: 176819 byte(s)
Diff to previous 175
Inserted some (unsigned int) casts to kill compiler warnings.


Revision 175 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 11 13:38:38 2007 UTC (7 years, 5 months ago) by ph10
File length: 176642 byte(s)
Diff to previous 172
Added the Perl 5.10 (?| "branch reset" feature.


Revision 172 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 5 10:40:13 2007 UTC (7 years, 5 months ago) by ph10
File length: 175665 byte(s)
Diff to previous 171
Drastically reduce workspace used for alternatives in groups; also some 
trailing space removals for a test release.


Revision 171 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 4 14:28:58 2007 UTC (7 years, 5 months ago) by ph10
File length: 175192 byte(s)
Diff to previous 170
Support \k{name} and \g{name} a la Perl 5.10.


Revision 170 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 4 11:21:13 2007 UTC (7 years, 5 months ago) by ph10
File length: 174621 byte(s)
Diff to previous 168
Fix bug in detecting potentially empty groups.


Revision 168 - (view) (download) (annotate) - [select for diffs]
Modified Tue May 29 15:18:18 2007 UTC (7 years, 5 months ago) by ph10
File length: 174513 byte(s)
Diff to previous 167
Add support for the Perl 5.10 \K facility.


Revision 167 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 9 15:53:54 2007 UTC (7 years, 6 months ago) by ph10
File length: 174513 byte(s)
Diff to previous 166
Add (?(-n) and (?(+n) relative conditions.


Revision 166 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 9 14:48:28 2007 UTC (7 years, 6 months ago) by ph10
File length: 173631 byte(s)
Diff to previous 150
Add (?-n) and (?+n) relative references.


Revision 150 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 17 08:22:40 2007 UTC (7 years, 7 months ago) by ph10
File length: 172661 byte(s)
Diff to previous 149
Update HTML documentation.


Revision 149 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 16 15:28:08 2007 UTC (7 years, 7 months ago) by ph10
File length: 172663 byte(s)
Diff to previous 145
Add PCRE_NEWLINE_ANYCRLF.


Revision 145 - (view) (download) (annotate) - [select for diffs]
Modified Wed Apr 4 14:06:52 2007 UTC (7 years, 7 months ago) by ph10
File length: 172534 byte(s)
Diff to previous 119
Reworked all the WIN32 __declspec stuff in the hope of getting it right.


Revision 119 - (view) (download) (annotate) - [select for diffs]
Modified Mon Mar 12 09:29:45 2007 UTC (7 years, 8 months ago) by ph10
File length: 172538 byte(s)
Diff to previous 117
Fix crash when erroroffset passed as NULL.


Revision 117 - (view) (download) (annotate) - [select for diffs]
Modified Fri Mar 9 15:59:06 2007 UTC (7 years, 8 months ago) by ph10
File length: 172560 byte(s)
Diff to previous 116
Update copyright years to 2007.


Revision 116 - (view) (download) (annotate) - [select for diffs]
Modified Fri Mar 9 15:23:02 2007 UTC (7 years, 8 months ago) by ph10
File length: 172560 byte(s)
Diff to previous 111
Tests cleanup: use -C in RunTest; add /Z to pcretest and make test 3 
independent of link size.


Revision 111 - (view) (download) (annotate) - [select for diffs]
Modified Thu Mar 8 16:53:09 2007 UTC (7 years, 8 months ago) by ph10
File length: 172554 byte(s)
Diff to previous 107
Create the PrepareRelease script to process the documentation and create the 
.generic files for distribution, also to remove trailing spaces. Update a lot 
more of the build-time documentation. Arrange for PrepareRelease and its 
sub-scripts to be distributed.


Revision 107 - (view) (download) (annotate) - [select for diffs]
Modified Wed Mar 7 11:02:28 2007 UTC (7 years, 8 months ago) by ph10
File length: 172568 byte(s)
Diff to previous 97
Added some additional #ifdef SUPPORT_UTF8 to minimize the code when UTF-8 
support is not compiled.


Revision 97 - (view) (download) (annotate) - [select for diffs]
Modified Mon Mar 5 12:36:47 2007 UTC (7 years, 8 months ago) by ph10
File length: 172500 byte(s)
Diff to previous 96
Applied Bob and Daniel's patches to convert the build system to automake. Added 
the maintain directory, containing files that are used for maintenance, but are 
not distributed. This is an intermediate step.


Revision 96 - (view) (download) (annotate) - [select for diffs]
Modified Fri Mar 2 13:10:43 2007 UTC (7 years, 8 months ago) by nigel
File length: 172486 byte(s)
Diff to previous 93
 r6896@hex:  nm | 2007-03-02 13:09:14 +0000
 Added EOL and keywork properties throughout


Revision 93 - (view) (download) (annotate) - [select for diffs]
Modified Sat Feb 24 21:41:42 2007 UTC (7 years, 9 months ago) by nigel
File length: 172486 byte(s)
Diff to previous 91
Load pcre-7.0 into code/trunk.


Revision 91 - (view) (download) (annotate) - [select for diffs]
Modified Sat Feb 24 21:41:34 2007 UTC (7 years, 9 months ago) by nigel
File length: 166857 byte(s)
Diff to previous 87
Load pcre-6.7 into code/trunk.


Revision 87 - (view) (download) (annotate) - [select for diffs]
Modified Sat Feb 24 21:41:21 2007 UTC (7 years, 9 months ago) by nigel
File length: 162063 byte(s)
Diff to previous 85
Load pcre-6.5 into code/trunk.


Revision 85 - (view) (download) (annotate) - [select for diffs]
Modified Sat Feb 24 21:41:13 2007 UTC (7 years, 9 months ago) by nigel
File length: 160094 byte(s)
Diff to previous 81
Load pcre-6.4 into code/trunk.


Revision 81 - (view) (download) (annotate) - [select for diffs]
Modified Sat Feb 24 21:40:59 2007 UTC (7 years, 9 months ago) by nigel
File length: 159806 byte(s)
Diff to previous 79
Load pcre-6.2 into code/trunk.


Revision 79 - (view) (download) (annotate) - [select for diffs]
Modified Sat Feb 24 21:40:52 2007 UTC (7 years, 9 months ago) by nigel
File length: 159122 byte(s)
Diff to previous 77
Load pcre-6.1 into code/trunk.


Revision 77 - (view) (download) (annotate) - [select for diffs]
Added Sat Feb 24 21:40:45 2007 UTC (7 years, 9 months ago) by nigel
File length: 158569 byte(s)
Load pcre-6.0 into code/trunk.


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12