| 157 |
names, because these cannot be distinguished in PCRE, and this has caused |
names, because these cannot be distinguished in PCRE, and this has caused |
| 158 |
confusion. (This is a difference from Perl.) |
confusion. (This is a difference from Perl.) |
| 159 |
|
|
| 160 |
|
28. When duplicate subpattern names are present (necessarily with different |
| 161 |
|
numbers, as required by 27 above), and a test is made by name in a |
| 162 |
|
conditional pattern, either for a subpattern having been matched, or for |
| 163 |
|
recursion in such a pattern, all the associated numbered subpatterns are |
| 164 |
|
tested, and the overall condition is true if the condition is true for any |
| 165 |
|
one of them. This is the way Perl works, and is also more like the way |
| 166 |
|
testing by number works. |
| 167 |
|
|
| 168 |
|
|
| 169 |
Version 7.9 11-Apr-09 |
Version 7.9 11-Apr-09 |
| 170 |
--------------------- |
--------------------- |