diff options
Diffstat (limited to 'pod/perlre.pod')
-rw-r--r-- | pod/perlre.pod | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pod/perlre.pod b/pod/perlre.pod index bb92720ec1..387c820621 100644 --- a/pod/perlre.pod +++ b/pod/perlre.pod @@ -1199,7 +1199,11 @@ X<(?()> =item C<(?(condition)yes-pattern)> -Conditional expression. C<(condition)> should be either an integer in +Conditional expression. Matches C<yes-pattern> if C<condition> yields +a true value, matches C<no-pattern> otherwise. A missing pattern always +matches. + +C<(condition)> should be either an integer in parentheses (which is valid if the corresponding pair of parentheses matched), a look-ahead/look-behind/evaluate zero-width assertion, a name in angle brackets or single quotes (which is valid if a group |