diff options
author | David Mitchell <davem@iabyn.com> | 2012-05-26 16:51:15 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2012-06-13 13:32:54 +0100 |
commit | 82f144941dbd0acd68cc05a3d565e1d919b0f28e (patch) | |
tree | 0a19a80bf8c8300626606883804f9f73c86ca7ea /pod/perlreapi.pod | |
parent | b8f09ee740c86f0392e35bb465505af16b9488cb (diff) | |
download | perl-82f144941dbd0acd68cc05a3d565e1d919b0f28e.tar.gz |
perlreapi: fix documentation on last(close)?paren
lastparen was described as being last open paren; it's actually highest
close paren. Also make it clear these correspond to $+ and $^N
Diffstat (limited to 'pod/perlreapi.pod')
-rw-r--r-- | pod/perlreapi.pod | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlreapi.pod b/pod/perlreapi.pod index 93da14b2b8..4e065830db 100644 --- a/pod/perlreapi.pod +++ b/pod/perlreapi.pod @@ -514,8 +514,8 @@ values. created this object. */ /* Data about the last/current match. These are modified during matching*/ - U32 lastparen; /* last open paren matched */ - U32 lastcloseparen; /* last close paren matched */ + U32 lastparen; /* highest close paren matched ($+) */ + U32 lastcloseparen; /* last close paren matched ($^N) */ regexp_paren_pair *swap; /* Swap copy of *offs */ regexp_paren_pair *offs; /* Array of offsets for (@-) and (@+) */ |