| 14 |
|
|
| 15 |
4. Partial matching support is added to the JIT compiler. |
4. Partial matching support is added to the JIT compiler. |
| 16 |
|
|
| 17 |
|
5. Fixed several bugs concerned with partial matching of items that consist |
| 18 |
|
of more than one character: |
| 19 |
|
|
| 20 |
|
(a) /^(..)\1/ did not partially match "aba" because checking references was |
| 21 |
|
done on an "all or nothing" basis. This also applied to repeated |
| 22 |
|
references. |
| 23 |
|
|
| 24 |
|
(b) \R did not give a hard partial match if \r was found at the end of the |
| 25 |
|
subject. |
| 26 |
|
|
| 27 |
|
(c) \X did not give a hard partial match after matching one or more |
| 28 |
|
characters at the end of the subject. |
| 29 |
|
|
| 30 |
|
(d) When newline was set to CRLF, a pattern such as /a$/ did not recognize |
| 31 |
|
a partial match for the string "\r". |
| 32 |
|
|
| 33 |
|
(e) When newline was set to CRLF, the metacharacter "." did not recognize |
| 34 |
|
a partial match for a CR character at the end of the subject string. |
| 35 |
|
|
| 36 |
|
6. When matching is performed using JIT-compiled code, the flag bit |
| 37 |
|
PCRE_EXTRA_USED_JIT is set in the pcre_extra block and can be tested by the |
| 38 |
|
caller. This bit is checked by pcretest if JIT is requested by /S++ or -s++ |
| 39 |
|
(instead of just /S+ or -s+) and the text "(JIT)" added to the output if |
| 40 |
|
the bit is set. |
| 41 |
|
|
| 42 |
|
7. Individual JIT compile options can be set in pcretest by following -s+[+] |
| 43 |
|
or /S+[+] with a digit between 1 and 7. |
| 44 |
|
|
| 45 |
|
|
| 46 |
Version 8.30 04-February-2012 |
Version 8.30 04-February-2012 |
| 47 |
----------------------------- |
----------------------------- |