26 |
6. The erroneous patterns (?+-a) and (?-+a) give different error messages; |
6. The erroneous patterns (?+-a) and (?-+a) give different error messages; |
27 |
this is right because (?- can be followed by option settings as well as by |
this is right because (?- can be followed by option settings as well as by |
28 |
digits. I have, however, made the messages clearer. |
digits. I have, however, made the messages clearer. |
29 |
|
|
30 |
|
7. Patterns such as (?(1)a|b) (a pattern that contains fewer subpatterns |
31 |
|
than the number used in the conditional) now cause a compile-time error. |
32 |
|
This is actually not compatible with Perl, which accepts such patterns, but |
33 |
|
treats the conditional as always being FALSE (as PCRE used to), but it |
34 |
|
seems to me that giving a diagnostic is better. |
35 |
|
|
36 |
|
|
37 |
Version 7.4 21-Sep-07 |
Version 7.4 21-Sep-07 |