diff options
author | Hugo van der Sanden <hv@crypt.org> | 2002-04-14 17:09:30 +0100 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-04-15 21:48:56 +0000 |
commit | d65afb4bb3ed16e1305854aa6e047d2d9d4bb0dd (patch) | |
tree | 12e6cd9809b32bd0d1d765544b4514df61fa228b /pod/perlop.pod | |
parent | d83945bca46c6e7bb42dc7a72d131f64a8a56070 (diff) | |
download | perl-d65afb4bb3ed16e1305854aa6e047d2d9d4bb0dd.tar.gz |
Re: [ID 20020412.005] Dancing ??s
Message-Id: <200204141509.g3EF9UQ18111@crypt.compulink.co.uk>
p4raw-id: //depot/perl@15936
Diffstat (limited to 'pod/perlop.pod')
-rw-r--r-- | pod/perlop.pod | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pod/perlop.pod b/pod/perlop.pod index e842317175..6785d2452e 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<successfully> matched regular expression is used instead. +I<successfully> matched regular expression is used instead. In this +case, only the C<g> and C<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</g> option is not used, C<m//> in list context returns a list consisting of the subexpressions matched by the parentheses in the |