diff options
author | David Mitchell <davem@iabyn.com> | 2018-08-19 13:55:30 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2018-08-26 20:57:34 +0100 |
commit | 0b9dad94ed37e484db3e29d315fc26305c88f250 (patch) | |
tree | a48a5a82813b42d1688de0c2956cffa59e99c277 /regexp.h | |
parent | befca383a461d1ce6deea75d7e0c73084408db3d (diff) | |
download | perl-0b9dad94ed37e484db3e29d315fc26305c88f250.tar.gz |
Improve docs for lastparen, lastcloseparen
There's lots of confusion here, especially about lastparen - some of
the docs are just plain wrong.
Diffstat (limited to 'regexp.h')
-rw-r--r-- | regexp.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -134,8 +134,8 @@ typedef struct regexp { * 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 *offs; /* Array of offsets for (@-) and (@+) */ char **recurse_locinput; /* used to detect infinite recursion, XXX: move to internal */ |