summaryrefslogtreecommitdiff
path: root/pod/perltrap.pod
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-06-17 13:12:21 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-06-17 13:12:21 +0000
commit665e98b9987fe678dd115b56e9f0c9eb6bba0f1e (patch)
tree0e71dd436ef026602cc4fdfbdf63d1f873fb3c7a /pod/perltrap.pod
parent7d4807dba83f8253564940c8bb1fc36759e49187 (diff)
downloadperl-665e98b9987fe678dd115b56e9f0c9eb6bba0f1e.tar.gz
DOCPATCH Re: $1 remains uncleared for failed matches
From: david nicol <whatever@davidnicol.com> Date: 16 Jun 2003 20:35:24 -0500 Message-Id: <1055813724.1580.19.camel@plaza.davidnicol.com> Subject: Re: DOCPATCH Re: $1 remains uncleared for failed matches From: Ronald J Kimball <rjk@linguist.Thayer.dartmouth.edu> Date: Tue, 17 Jun 2003 00:12:04 -0400 Message-ID: <20030617041204.GA34960@linguist.thayer.dartmouth.edu> p4raw-id: //depot/perl@19804
Diffstat (limited to 'pod/perltrap.pod')
-rw-r--r--pod/perltrap.pod4
1 files changed, 4 insertions, 0 deletions
diff --git a/pod/perltrap.pod b/pod/perltrap.pod
index 48a886a5f5..6a6a443568 100644
--- a/pod/perltrap.pod
+++ b/pod/perltrap.pod
@@ -1224,6 +1224,10 @@ repeatedly, like C</x/> or C<m!x!>.
# perl4 prints: perl4
# perl5 prints: perl5
+=item * Regular Expression
+
+Unlike in Ruby, failed matches in Perl do not reset the match variables
+($1, $2, ..., C<$`>, ...).
=back