1835 |
capturing is carried out only for positive assertions, because it does not make |
capturing is carried out only for positive assertions, because it does not make |
1836 |
sense for negative assertions. |
sense for negative assertions. |
1837 |
.P |
.P |
1838 |
For compatibility with Perl, assertion subpatterns may be repeated, even though |
For compatibility with Perl, assertion subpatterns may be repeated; though |
1839 |
it makes no sense to assert the same thing several times. In practice, there |
it makes no sense to assert the same thing several times, the side effect of |
1840 |
only three cases: |
capturing parentheses may occasionally be useful. In practice, there only three |
1841 |
|
cases: |
1842 |
.sp |
.sp |
1843 |
(1) If the quantifier is {0}, the assertion is never obeyed during matching. |
(1) If the quantifier is {0}, the assertion is never obeyed during matching. |
1844 |
However, it may contain internal capturing parenthesized groups that are called |
However, it may contain internal capturing parenthesized groups that are called |