25 |
|
|
26 |
4. Added options (at build time, compile time, exec time) to change \R from |
4. Added options (at build time, compile time, exec time) to change \R from |
27 |
matching any Unicode line ending sequence to just matching CR, LF, or CRLF. |
matching any Unicode line ending sequence to just matching CR, LF, or CRLF. |
|
|
|
|
5. doc/pcresyntax.html was missing from the distribution. |
|
28 |
|
|
29 |
6. Put back the definition of PCRE_ERROR_NULLWSLIMIT, for backward |
5. doc/pcresyntax.html was missing from the distribution. |
30 |
|
|
31 |
|
6. Put back the definition of PCRE_ERROR_NULLWSLIMIT, for backward |
32 |
compatibility, even though it is no longer used. |
compatibility, even though it is no longer used. |
33 |
|
|
34 |
7. Added macro for snprintf to pcrecpp_unittest.cc and also for strtoll and |
7. Added macro for snprintf to pcrecpp_unittest.cc and also for strtoll and |
35 |
strtoull to pcrecpp.cc to select the available functions in WIN32 (where |
strtoull to pcrecpp.cc to select the available functions in WIN32 (where |
36 |
different names are used). |
different names are used). |
37 |
|
|
38 |
8. Changed all #include <config.h> to #include "config.h". There were also |
8. Changed all #include <config.h> to #include "config.h". There were also |
39 |
some further <pcre.h> cases that I changed to "pcre.h". |
some further <pcre.h> cases that I changed to "pcre.h". |
40 |
|
|
41 |
9. When pcregrep was used with the --colour option, it missed the line ending |
9. When pcregrep was used with the --colour option, it missed the line ending |
42 |
sequence off the lines that it output. |
sequence off the lines that it output. |
43 |
|
|
44 |
10. It was pointed out to me that arrays of string pointers cause lots of |
10. It was pointed out to me that arrays of string pointers cause lots of |
45 |
relocations when a shared library is dynamically loaded. A technique of |
relocations when a shared library is dynamically loaded. A technique of |
46 |
using a single long string with a table of offsets can drastically reduce |
using a single long string with a table of offsets can drastically reduce |
47 |
these. I have refactored PCRE in four places to do this. The result is |
these. I have refactored PCRE in four places to do this. The result is |
48 |
dramatic: |
dramatic: |
49 |
|
|
50 |
Originally: 290 |
Originally: 290 |
51 |
After changing UCP table: 187 |
After changing UCP table: 187 |
52 |
After changing error message table: 43 |
After changing error message table: 43 |
53 |
After changing table of "verbs" 36 |
After changing table of "verbs" 36 |
54 |
After changing table of Posix names 22 |
After changing table of Posix names 22 |
55 |
|
|
56 |
Thanks to the folks working on Gregex for glib for this insight. |
Thanks to the folks working on Gregex for glib for this insight. |
57 |
|
|
58 |
|
|