Log of /code/trunk/pcre_compile.c
Parent Directory
|
Revision Log
Revision
1186 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Oct 28 17:57:32 2012 UTC
(7 years, 1 month ago)
by
ph10
File length: 276665 byte(s)
Diff to
previous 1152
Use CHAR_NULL in pcre_compile when checking for character zero.
Revision
1152 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Oct 21 16:53:51 2012 UTC
(7 years, 1 month ago)
by
chpe
File length: 276322 byte(s)
Diff to
previous 1148
valgrind: Mark excess code space as unaddressable
When PCRE compiles a pattern, the required space is first estimated and this
amount of memory is then allocated. For some patterns, the actually required
code space is less than that, which means that the end of the code space is
unused. This patch marks that region as unaddressable, so that valgrind will
signal an error when it is accessed.
Revision
1143 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Oct 19 16:14:27 2012 UTC
(7 years, 1 month ago)
by
ph10
File length: 275897 byte(s)
Diff to
previous 1133
Get rid of compiler warnings from pcre_compile.c in all modes.
Revision
1120 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 16 15:57:38 2012 UTC
(7 years, 1 month ago)
by
chpe
File length: 275590 byte(s)
Diff to
previous 1114
pcre32: Fix unused variable warnings
Add ifdefs since these variables are unused on pcre32.
Revision
1114 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 16 15:57:16 2012 UTC
(7 years, 1 month ago)
by
chpe
File length: 275560 byte(s)
Diff to
previous 1084
pcre32: Remove unnecessary ifdefing
Just define HAS_EXTRALEN etc to 0. This reduces the amount of #ifdef COMPILE_PCRE32.
Revision
1078 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 16 15:55:00 2012 UTC
(7 years, 1 month ago)
by
chpe
File length: 275713 byte(s)
Diff to
previous 1077
pcre32: compile: Separate first/req char flags from the character itself
This is necessary so that 32-bit characters in non-UTF-32 mode can
be from the whole 32-bit range.
Revision
1077 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 16 15:54:57 2012 UTC
(7 years, 1 month ago)
by
chpe
File length: 272343 byte(s)
Diff to
previous 1076
pcre32: compile: Fix signed/unsigned mismatch in compile_branch
Revision
1076 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 16 15:54:54 2012 UTC
(7 years, 1 month ago)
by
chpe
File length: 272345 byte(s)
Diff to
previous 1074
pcre32: compile: Fix signed/unsigned mismatch in check_auto_possessive
Revision
1074 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 16 15:54:47 2012 UTC
(7 years, 1 month ago)
by
chpe
File length: 272318 byte(s)
Diff to
previous 1073
pcre32: compile: Fix signed/unsigned mismatch in check_posix_name
Revision
1073 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 16 15:54:43 2012 UTC
(7 years, 1 month ago)
by
chpe
File length: 272304 byte(s)
Diff to
previous 1072
pcre32: compile: Fix signed/unsigned mismatch in adjust_recurse
Revision
1072 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 16 15:54:40 2012 UTC
(7 years, 1 month ago)
by
chpe
File length: 272294 byte(s)
Diff to
previous 1071
pcre32: compile: Fix signed/unsigned mismatch in check_posix_syntax
Revision
1071 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 16 15:54:37 2012 UTC
(7 years, 1 month ago)
by
chpe
File length: 272287 byte(s)
Diff to
previous 1070
pcre32: compile: Fix signed/unsigned mismatch in could_be_empty_branch
Revision
1070 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 16 15:54:33 2012 UTC
(7 years, 1 month ago)
by
chpe
File length: 272268 byte(s)
Diff to
previous 1069
pcre32: compile: Fix signed/unsigned mismatch in find_recurse
Revision
1069 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 16 15:54:29 2012 UTC
(7 years, 1 month ago)
by
chpe
File length: 272261 byte(s)
Diff to
previous 1068
pcre32: compile: Fix signed/unsigned mismatch in find_bracket
Revision
1068 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 16 15:54:26 2012 UTC
(7 years, 1 month ago)
by
chpe
File length: 272249 byte(s)
Diff to
previous 1067
pcre32: compile: Fix signed/unsigned mismatch in find_fixedlength
Revision
1067 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 16 15:54:22 2012 UTC
(7 years, 1 month ago)
by
chpe
File length: 272232 byte(s)
Diff to
previous 1066
pcre32: compile: Fix signed/unsigned mismatch in find_parens_sub
Revision
1066 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 16 15:54:19 2012 UTC
(7 years, 1 month ago)
by
chpe
File length: 272204 byte(s)
Diff to
previous 1065
pcre32: compile: Fix signed/unsigned mismatch in read_repeat_counts
Revision
1064 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 16 15:54:12 2012 UTC
(7 years, 1 month ago)
by
chpe
File length: 272170 byte(s)
Diff to
previous 1063
pcre32: compile: Use uint32 to store characters in compile_branch
Do this to preserve any 32-bit data character in 32-bit non-UTF-32 mode.
Revision
1063 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 16 15:54:09 2012 UTC
(7 years, 1 month ago)
by
chpe
File length: 272167 byte(s)
Diff to
previous 1062
pcre32: compile: Use uint32 to store characters in check_auto_possessive
Do this to preserve any 32-bit data character in 32-bit non-UTF-32 mode.
Revision
1062 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 16 15:54:05 2012 UTC
(7 years, 1 month ago)
by
chpe
File length: 272282 byte(s)
Diff to
previous 1061
pcre32: compile: Return data character as uint32 from check_escape
Do this to preserve any 32-bit data character in 32-bit non-UTF-32 mode.
Revision
1061 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 16 15:54:02 2012 UTC
(7 years, 1 month ago)
by
chpe
File length: 272225 byte(s)
Diff to
previous 1060
pcre32: compile: Encode back references as negative numbers
Return the back reference as negative numbers from check_escape(),
instead of adding them to ESC_REF. This way, there will never be an
overflow.
Revision
1060 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 16 15:53:57 2012 UTC
(7 years, 1 month ago)
by
chpe
File length: 272262 byte(s)
Diff to
previous 1059
pcre32: compile: Use uint32 in check_escape
Use pcre_uint32 for the data character in check_escape(), so that it
correctly parses \x{} with any 32-bit hex value in 32-bit non-UTF-32
mode.
Revision
1059 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 16 15:53:53 2012 UTC
(7 years, 1 month ago)
by
chpe
File length: 272074 byte(s)
Diff to
previous 1056
pcre32: compile: Make check_escape return the data character in an out param
check_escape needs to return both the escape code and possibly a data
character. Return the data character in an out param instead of mixing
it with the escape code; this is in preparation to making the character
a pcre_uint32 to enable the full 32-bit range in pcre32 in non-UTF-32
mode.
Revision
1056 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 16 15:53:41 2012 UTC
(7 years, 1 month ago)
by
chpe
File length: 271450 byte(s)
Diff to
previous 1055
pcre32: compile: Fix \H and \V character ranges for pcre32
Go up to 0xffffffff, and move the tests to the split 16- and 32-bit
tests because the output differs.
TODO: these character ranges look rather odd for non-UTF mode... bug?
Revision
1055 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 16 15:53:30 2012 UTC
(7 years, 1 month ago)
by
chpe
File length: 271552 byte(s)
Diff to
previous 1048
pcre32: Add 32-bit library
Create libpcre32 that operates on 32-bit characters (UTF-32).
This turned out to be surprisingly simple after the UTF-16 support
was introduced; mostly just extra ifdefs and adjusting and adding
some tests.
Revision
1048 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Sep 28 16:03:14 2012 UTC
(7 years, 2 months ago)
by
ph10
File length: 269284 byte(s)
Diff to
previous 1047
Fix bugs in new caseless support code in the auto-possessifying function.
Revision
1046 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 25 16:27:58 2012 UTC
(7 years, 2 months ago)
by
ph10
File length: 269266 byte(s)
Diff to
previous 1045
All the remaining changes for handling characters with more than one other
case.
Revision
1045 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Sep 23 16:50:00 2012 UTC
(7 years, 2 months ago)
by
ph10
File length: 266900 byte(s)
Diff to
previous 1041
Update character class handling to use new character case information; rework
\h, \H, \v, and \V to use the same apparatus with centrally defined lists.
Revision
1041 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Sep 16 10:16:27 2012 UTC
(7 years, 2 months ago)
by
ph10
File length: 271035 byte(s)
Diff to
previous 1033
Turn case lists for horizontal and vertical white space into macros so they are
defined only once.
Revision
1033 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Sep 10 11:02:48 2012 UTC
(7 years, 2 months ago)
by
ph10
File length: 272041 byte(s)
Diff to
previous 994
General spring-clean of EBCDIC-related issues in the code, which had decayed
over time. Also the documentation. Added one test that can be run in an ASCII
world to do a little testing of EBCDIC-related things.
Revision
994 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Jul 10 14:29:26 2012 UTC
(7 years, 5 months ago)
by
ph10
File length: 271433 byte(s)
Diff to
previous 982
Fix patterns that incorrectly set "anchored" or "start of line" for .* inside
atomic parentheses or when *PRUNE or *SKIP is present.
Revision
978 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Jun 17 16:55:07 2012 UTC
(7 years, 5 months ago)
by
ph10
File length: 269767 byte(s)
Diff to
previous 975
Apply character value checks to \u.... in JavaScript mode, for compatibility
with \x{....} in non-JavaScript mode.
Revision
962 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Apr 20 17:28:23 2012 UTC
(7 years, 7 months ago)
by
ph10
File length: 269244 byte(s)
Diff to
previous 961
Fix auto-possessifying bugs when PCRE_UCP is not set, but character tables
specify characters in the range 127-255 are letters, spaces, etc.
Revision
927 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Feb 22 15:15:08 2012 UTC
(7 years, 9 months ago)
by
ph10
File length: 268808 byte(s)
Diff to
previous 924
Correct and tidy up comments relating to OP_NOT (no code changes).
Revision
904 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Jan 23 17:30:49 2012 UTC
(7 years, 10 months ago)
by
ph10
File length: 269088 byte(s)
Diff to
previous 903
Additional casts to avoid compiler warnings, originally from a MS compiler, but
also given by gcc if you turn on enough warnings.
Revision
903 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Jan 21 16:37:17 2012 UTC
(7 years, 10 months ago)
by
ph10
File length: 269048 byte(s)
Diff to
previous 852
Source file tidies for 8.30-RC1 release; fix Makefile.am bugs for building
symbolic links to man pages.
Revision
849 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Jan 4 17:02:01 2012 UTC
(7 years, 11 months ago)
by
ph10
File length: 269013 byte(s)
Diff to
previous 848
Allow octal escapes up to \777 in 16-bit non-UTF mode.
Revision
842 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Dec 31 15:19:04 2011 UTC
(7 years, 11 months ago)
by
ph10
File length: 268858 byte(s)
Diff to
previous 836
Typos in PrepareRelease; include 16-bit in make distcheck; fix RunTest and
RunGrepTest when building in non-source directory; problem in pcretest when no
UTF or 16-bit support; other tidies consequent on building a tarball.
Revision
836 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Dec 28 17:16:11 2011 UTC
(7 years, 11 months ago)
by
ph10
File length: 268869 byte(s)
Diff to
previous 835
Merging all the changes from the pcre16 branch into the trunk.
Revision
835 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Dec 28 16:10:09 2011 UTC
(7 years, 11 months ago)
by
ph10
File length: 250841 byte(s)
Diff to
previous 807
Rolled back trunk to r755 to prepare for merging the 16-bit branch.
Revision
807 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Dec 18 10:03:38 2011 UTC
(7 years, 11 months ago)
by
ph10
File length: 255196 byte(s)
Diff to
previous 793
Renamed isnumber in pcre_compile to avoid a clash with ctype.h in Macs, and
fixed a bug in fixed-length calculation for lookbehinds that would show up only
in quite long subpatterns.
Revision
793 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Dec 7 16:52:34 2011 UTC
(8 years ago)
by
ph10
File length: 255166 byte(s)
Diff to
previous 788
Computation of memory needed for the table of names of groups was giving an
unnecessarily large value.
Revision
773 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Nov 30 18:10:27 2011 UTC
(8 years ago)
by
ph10
File length: 255428 byte(s)
Diff to
previous 762
Expand compile workspace for very many forward references. This ups the limit
by a factor of 100.
Revision
754 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Nov 19 18:32:18 2011 UTC
(8 years ago)
by
ph10
File length: 250841 byte(s)
Diff to
previous 751
Support \C in lookbehinds and DFA matching when not in UTF-8 mode.
Revision
750 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Nov 18 11:07:14 2011 UTC
(8 years ago)
by
ph10
File length: 250540 byte(s)
Diff to
previous 749
Fix problem with possessively repeated groups with minima greater than one.
Revision
749 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Nov 18 10:36:45 2011 UTC
(8 years ago)
by
ph10
File length: 250267 byte(s)
Diff to
previous 747
Fix bad compiling of possessively repeated conditional subpattern.
Revision
747 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Nov 15 17:35:10 2011 UTC
(8 years ago)
by
ph10
File length: 248572 byte(s)
Diff to
previous 746
Fixed several items that were being incorrectly rejected as "not fixed length"
in lookbehinds.
Revision
746 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Nov 15 15:07:02 2011 UTC
(8 years ago)
by
ph10
File length: 246019 byte(s)
Diff to
previous 745
Caseless matching of backreferences with fixed length repetitions was broken.
Revision
745 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Nov 14 11:41:03 2011 UTC
(8 years ago)
by
ph10
File length: 245998 byte(s)
Diff to
previous 744
Small tidies, and documentation update for JavaScript \x, \u, \U support.
Revision
744 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Nov 13 16:31:38 2011 UTC
(8 years ago)
by
zherczeg
File length: 246028 byte(s)
Diff to
previous 733
Correctly supporting \x and \u in JavaScript compatibility mode
Revision
723 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Oct 8 15:55:23 2011 UTC
(8 years, 2 months ago)
by
ph10
File length: 244148 byte(s)
Diff to
previous 721
Revert handling of atomic groups that do not include captures to the old way of
handling, thus reducing stack usage.
Revision
716 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 4 16:38:05 2011 UTC
(8 years, 2 months ago)
by
ph10
File length: 243673 byte(s)
Diff to
previous 708
Make (*THEN) work as in Perl in subpatterns that do not contain | alternatives.
Revision
702 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 20 15:45:06 2011 UTC
(8 years, 2 months ago)
by
ph10
File length: 243952 byte(s)
Diff to
previous 701
Restore tail-recursion optimizations when no (*THEN) in pattern.
Revision
701 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 20 11:30:56 2011 UTC
(8 years, 2 months ago)
by
ph10
File length: 243901 byte(s)
Diff to
previous 691
Fix miscompile of /(*ACCEPT)a/, which thought a match had to start with "a".
Revision
670 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Aug 23 11:16:56 2011 UTC
(8 years, 3 months ago)
by
ph10
File length: 243765 byte(s)
Diff to
previous 661
Get rid of unused variable compiler warnings when UTF-8 not supported.
Revision
661 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Aug 21 09:00:54 2011 UTC
(8 years, 3 months ago)
by
ph10
File length: 243791 byte(s)
Diff to
previous 654
Fix bug introduced by 8.13/37 concerning POSIX class recognition
Revision
654 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Aug 2 11:00:40 2011 UTC
(8 years, 4 months ago)
by
ph10
File length: 243549 byte(s)
Diff to
previous 643
Documentation and general text tidies in preparation for test release.
Revision
643 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Jul 29 15:56:39 2011 UTC
(8 years, 4 months ago)
by
ph10
File length: 243864 byte(s)
Diff to
previous 642
Allow all characters except closing parens in MARK:NAME etc.
Revision
642 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Jul 28 18:59:40 2011 UTC
(8 years, 4 months ago)
by
ph10
File length: 243683 byte(s)
Diff to
previous 640
Avoid false positive for infinite recursion by not checking conditionals at
compile time, but add tests at runtime that also catch infinite mutual
recursion.
Revision
624 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Jul 19 10:43:28 2011 UTC
(8 years, 4 months ago)
by
ph10
File length: 240983 byte(s)
Diff to
previous 621
Fix unset variable bug introduced during recursion refactoring.
Revision
621 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Jul 18 10:14:09 2011 UTC
(8 years, 4 months ago)
by
ph10
File length: 240237 byte(s)
Diff to
previous 618
Remove atomic from single repeats; convert possessive atomic to possessive
non-atomic (because they are the same).
Revision
618 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Jul 16 17:24:16 2011 UTC
(8 years, 4 months ago)
by
ph10
File length: 239488 byte(s)
Diff to
previous 613
Re-do atomic group processing to fix backtrack capture bugs. Recursion is also
re-worked.
Revision
613 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Jul 2 16:59:52 2011 UTC
(8 years, 5 months ago)
by
ph10
File length: 239058 byte(s)
Diff to
previous 606
Fix problem with the interaction of (*ACCEPT) in an assertion with
PCRE_NOTEMPTY.
Revision
606 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Jun 6 17:46:22 2011 UTC
(8 years, 6 months ago)
by
ph10
File length: 238529 byte(s)
Diff to
previous 605
Tidy the API for _pcre_valid_utf8() to a more suitable form for a future public
release. Also make -s in pcretest force a study for every regex.
Revision
605 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Jun 3 18:18:30 2011 UTC
(8 years, 6 months ago)
by
ph10
File length: 238607 byte(s)
Diff to
previous 604
Make pcre_study() more robust against update omissions; fix ONCE oversight.
Revision
604 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Jun 2 19:04:54 2011 UTC
(8 years, 6 months ago)
by
ph10
File length: 238288 byte(s)
Diff to
previous 602
Refactoring to reduce stack usage for possessively quantified subpatterns. Also
fixed a number of bugs related to repeated subpatterns. Some further tidies
consequent on the removal of OP_OPT are also in this patch.
Revision
602 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed May 25 08:29:03 2011 UTC
(8 years, 6 months ago)
by
ph10
File length: 237764 byte(s)
Diff to
previous 598
Remove OP_OPT by handling /i and /m entirely at compile time. Fixes bug with
patterns like /(?i:([^b]))(?1)/, where the /i option was mishandled.
Revision
598 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat May 7 15:37:31 2011 UTC
(8 years, 7 months ago)
by
ph10
File length: 237170 byte(s)
Diff to
previous 579
Pass back detailed info when UTF-8 check fails at runtime.
Revision
574 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Nov 20 17:47:27 2010 UTC
(9 years ago)
by
ph10
File length: 234633 byte(s)
Diff to
previous 556
Give error if \c is followed by a byte > 127 (in ASCII/UTF-8 modes).
Revision
556 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 26 11:06:44 2010 UTC
(9 years, 1 month ago)
by
ph10
File length: 234378 byte(s)
Diff to
previous 552
Fix #-comment bugs in UTF-8 mode with PCRE_NEWLINE_ANY.
Revision
552 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Oct 13 10:15:41 2010 UTC
(9 years, 1 month ago)
by
ph10
File length: 233683 byte(s)
Diff to
previous 550
Fix \s bug in character classes (always removing VT).
Revision
544 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Jun 15 17:20:55 2010 UTC
(9 years, 5 months ago)
by
ph10
File length: 233022 byte(s)
Diff to
previous 535
Fix forward reference in the presence of (?#( (open parens in comment).
Revision
532 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Jun 1 16:21:42 2010 UTC
(9 years, 6 months ago)
by
ph10
File length: 232835 byte(s)
Diff to
previous 530
Extend auto-possessify to handle some Unicode properties.
Revision
530 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Jun 1 13:42:06 2010 UTC
(9 years, 6 months ago)
by
ph10
File length: 229406 byte(s)
Diff to
previous 528
Added a lot of (int) casts to avoid compiler warnings in systems where
size_t is 64-bit.
Revision
518 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue May 18 15:47:01 2010 UTC
(9 years, 6 months ago)
by
ph10
File length: 228686 byte(s)
Diff to
previous 514
Added PCRE_UCP and related stuff to make \w etc use Unicode properties.
Revision
513 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon May 3 11:13:37 2010 UTC
(9 years, 7 months ago)
by
ph10
File length: 225150 byte(s)
Diff to
previous 512
Make \R and \X in a character class behave more like Perl
Revision
510 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Mar 27 17:45:29 2010 UTC
(9 years, 8 months ago)
by
ph10
File length: 225388 byte(s)
Diff to
previous 507
Add support for *MARK and names for *PRUNE, *SKIP, *THEN.
Revision
504 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Mar 8 08:57:04 2010 UTC
(9 years, 9 months ago)
by
ph10
File length: 223108 byte(s)
Diff to
previous 503
Previous patch for fixing problem with recursion loop checking was incorrect.
Revision
503 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Mar 7 17:35:52 2010 UTC
(9 years, 9 months ago)
by
ph10
File length: 222952 byte(s)
Diff to
previous 500
Fix incorrect compile time error for certain types of recursive patterns.
Revision
500 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Mar 6 19:00:29 2010 UTC
(9 years, 9 months ago)
by
ph10
File length: 222249 byte(s)
Diff to
previous 499
Fix bugs with \K in atomic groups, subroutines, and assertions.
Revision
499 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Mar 3 20:09:39 2010 UTC
(9 years, 9 months ago)
by
ph10
File length: 222228 byte(s)
Diff to
previous 496
Add some checks for the eint vector size and the list of compile-time error
texts.
Revision
496 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Mar 2 19:11:17 2010 UTC
(9 years, 9 months ago)
by
ph10
File length: 221972 byte(s)
Diff to
previous 488
Fix DEFINE bug for forward reference with a possessive quantifier.
Revision
483 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Jan 4 16:19:17 2010 UTC
(9 years, 11 months ago)
by
ph10
File length: 220454 byte(s)
Diff to
previous 475
Fix some discrepancies between "USPTR" and "unsigned char *".
Revision
475 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Jan 2 18:21:30 2010 UTC
(9 years, 11 months ago)
by
ph10
File length: 220457 byte(s)
Diff to
previous 472
Tidies to allow easier embedded compilation; avoid (double) where possible.
Revision
459 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Oct 4 09:21:39 2009 UTC
(10 years, 2 months ago)
by
ph10
File length: 219936 byte(s)
Diff to
previous 457
Fix problems with conditional references to duplicate named subpatterns.
Revision
457 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Oct 3 16:24:08 2009 UTC
(10 years, 2 months ago)
by
ph10
File length: 219485 byte(s)
Diff to
previous 455
Allow duplicate names for same-numbered groups; forbid different names.
Revision
455 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Sep 26 19:12:32 2009 UTC
(10 years, 2 months ago)
by
ph10
File length: 217318 byte(s)
Diff to
previous 454
Added lower bound length-finding to pcre_study() and use it when matching; make
the value available via pcre_fullinfo(); also fixed bugs connected with
pcre_study() in pcre_dfa_exec().
Revision
454 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 22 09:42:11 2009 UTC
(10 years, 2 months ago)
by
ph10
File length: 217155 byte(s)
Diff to
previous 447
Allow fixed-length subroutine calls in lookbehinds.
Revision
447 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 15 18:17:54 2009 UTC
(10 years, 2 months ago)
by
ph10
File length: 213658 byte(s)
Diff to
previous 438
Capture data when (*ACCEPT) is inside capturing parentheses.
Revision
438 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Sep 6 20:00:47 2009 UTC
(10 years, 3 months ago)
by
ph10
File length: 212803 byte(s)
Diff to
previous 426
Fix internal error for forward reference with [^m] interposing.
Revision
426 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Aug 26 15:38:32 2009 UTC
(10 years, 3 months ago)
by
ph10
File length: 212760 byte(s)
Diff to
previous 412
Remove restrictions on pcre_exec() partial matching.
Revision
408 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Mar 27 17:52:03 2009 UTC
(10 years, 8 months ago)
by
ph10
File length: 211762 byte(s)
Diff to
previous 406
Fix forward references when duplicate group numbers are involved.
Revision
395 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Mar 20 11:22:42 2009 UTC
(10 years, 8 months ago)
by
ph10
File length: 208090 byte(s)
Diff to
previous 392
Fix looping bug by recognizing that a conditional with only one branch may
match an empty string.
Revision
381 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Mar 3 16:08:23 2009 UTC
(10 years, 9 months ago)
by
ph10
File length: 203737 byte(s)
Diff to
previous 380
Fix bug with (?(?=.*b)b|^) thinking it must match at start of line; also fix
bug causing a crash when auto-callout is used with a conditional assertion.
Revision
380 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Mar 3 12:32:47 2009 UTC
(10 years, 9 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
360 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Jul 9 20:00:28 2008 UTC
(11 years, 5 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)
(
annotate)
-
[select for diffs]
Modified
Wed Jul 9 16:20:19 2008 UTC
(11 years, 5 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)
(
annotate)
-
[select for diffs]
Modified
Wed Jul 2 18:42:11 2008 UTC
(11 years, 5 months ago)
by
ph10
File length: 202638 byte(s)
Diff to
previous 345
Preliminary patch for upgraded Unicode Property support.
Revision
342 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Apr 20 17:10:13 2008 UTC
(11 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)
(
annotate)
-
[select for diffs]
Modified
Sat Apr 19 16:41:04 2008 UTC
(11 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)
(
annotate)
-
[select for diffs]
Modified
Fri Apr 18 20:00:21 2008 UTC
(11 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
335 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Apr 12 14:36:14 2008 UTC
(11 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
333 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Apr 10 19:55:57 2008 UTC
(11 years, 8 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)
(
annotate)
-
[select for diffs]
Modified
Sat Mar 8 19:38:30 2008 UTC
(11 years, 9 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)
(
annotate)
-
[select for diffs]
Modified
Wed Mar 5 17:23:42 2008 UTC
(11 years, 9 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
300 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Jan 14 19:43:19 2008 UTC
(11 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
295 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Dec 31 17:00:24 2007 UTC
(11 years, 11 months ago)
by
ph10
File length: 196656 byte(s)
Diff to
previous 286
Make POSIX character class parsing more like Perl.
Revision
285 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Dec 12 17:03:50 2007 UTC
(11 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)
(
annotate)
-
[select for diffs]
Modified
Fri Dec 7 19:32:32 2007 UTC
(12 years 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)
(
annotate)
-
[select for diffs]
Modified
Wed Nov 21 15:39:20 2007 UTC
(12 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
272 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Nov 17 16:53:53 2007 UTC
(12 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)
(
annotate)
-
[select for diffs]
Modified
Fri Nov 16 19:55:16 2007 UTC
(12 years ago)
by
ph10
File length: 195200 byte(s)
Diff to
previous 269
Diagnose conditional numerical reference to a non-existent subpattern.
Revision
268 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Nov 15 10:28:09 2007 UTC
(12 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
240 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 11 15:47:20 2007 UTC
(12 years, 3 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)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 11 12:57:06 2007 UTC
(12 years, 3 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)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 11 11:15:33 2007 UTC
(12 years, 3 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)
(
annotate)
-
[select for diffs]
Modified
Mon Sep 10 13:23:56 2007 UTC
(12 years, 3 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
226 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Aug 21 11:46:08 2007 UTC
(12 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)
(
annotate)
-
[select for diffs]
Modified
Mon Aug 20 12:58:29 2007 UTC
(12 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)
(
annotate)
-
[select for diffs]
Modified
Mon Aug 20 11:07:53 2007 UTC
(12 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
218 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Aug 16 10:13:23 2007 UTC
(12 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)
(
annotate)
-
[select for diffs]
Modified
Wed Aug 15 14:35:57 2007 UTC
(12 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)
(
annotate)
-
[select for diffs]
Modified
Wed Aug 15 14:20:05 2007 UTC
(12 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
206 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Aug 3 14:53:04 2007 UTC
(12 years, 4 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
202 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Aug 3 09:44:26 2007 UTC
(12 years, 4 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)
(
annotate)
-
[select for diffs]
Modified
Wed Aug 1 09:10:40 2007 UTC
(12 years, 4 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)
(
annotate)
-
[select for diffs]
Modified
Tue Jul 31 14:39:09 2007 UTC
(12 years, 4 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)
(
annotate)
-
[select for diffs]
Modified
Mon Jul 30 13:23:28 2007 UTC
(12 years, 4 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
176 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Jun 11 13:48:37 2007 UTC
(12 years, 6 months ago)
by
ph10
File length: 176819 byte(s)
Diff to
previous 175
Inserted some (unsigned int) casts to kill compiler warnings.
Revision
172 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Jun 5 10:40:13 2007 UTC
(12 years, 6 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
145 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Apr 4 14:06:52 2007 UTC
(12 years, 8 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
116 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Mar 9 15:23:02 2007 UTC
(12 years, 9 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)
(
annotate)
-
[select for diffs]
Modified
Thu Mar 8 16:53:09 2007 UTC
(12 years, 9 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)
(
annotate)
-
[select for diffs]
Modified
Wed Mar 7 11:02:28 2007 UTC
(12 years, 9 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)
(
annotate)
-
[select for diffs]
Modified
Mon Mar 5 12:36:47 2007 UTC
(12 years, 9 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)
(
annotate)
-
[select for diffs]
Modified
Fri Mar 2 13:10:43 2007 UTC
(12 years, 9 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
77 -
(
view)
(
annotate)
-
[select for diffs]
Added
Sat Feb 24 21:40:45 2007 UTC
(12 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.