From 82f144941dbd0acd68cc05a3d565e1d919b0f28e Mon Sep 17 00:00:00 2001 From: David Mitchell Date: Sat, 26 May 2012 16:51:15 +0100 Subject: [PATCH] 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 --- pod/perlreapi.pod | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pod/perlreapi.pod b/pod/perlreapi.pod index 93da14b..4e06583 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 (@+) */ -- 1.8.3.1