X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperlop.pod;h=6785d2452e48620b44873c9f01ed5124959569bd;hb=2f9d292c5c854aad638316029276446c19b69bf6;hp=e8423171750be6ccc5bd36346a371319b38c2e46;hpb=fe4b3f2217b0673e1a826e8cf7a98a9a41beb70b;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perlop.pod b/pod/perlop.pod index e842317..6785d24 100644 --- a/pod/perlop.pod +++ b/pod/perlop.pod @@ -841,7 +841,11 @@ that you won't change the variables in the pattern. If you change them, Perl won't even notice. See also L<"qr/STRING/imosx">. If the PATTERN evaluates to the empty string, the last -I matched regular expression is used instead. +I matched regular expression is used instead. In this +case, only the C and C flags on the empty pattern is honoured - +the other flags are taken from the original pattern. If no match has +previously succeeded, this will (silently) act instead as a genuine +empty pattern (which will always match). If the C option is not used, C in list context returns a list consisting of the subexpressions matched by the parentheses in the