diff options
author | David Mitchell <davem@iabyn.com> | 2013-05-31 23:44:44 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2013-06-02 22:28:55 +0100 |
commit | 28d03b21d43611f97565be8d077b7f8eb0bda26a (patch) | |
tree | 330c76614dc7d5b3808b47551e50d287924cc667 /regexp.h | |
parent | 6c3fea77afb1df054862e697daf7fa3cb10e27f4 (diff) | |
download | perl-28d03b21d43611f97565be8d077b7f8eb0bda26a.tar.gz |
document fields of regmatch_info struct
Diffstat (limited to 'regexp.h')
-rw-r--r-- | regexp.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -618,13 +618,13 @@ typedef struct { * regmatch_state union. */ typedef struct { - REGEXP *prog; + REGEXP *prog; /* the regex being executed */ const char * strbeg; /* real start of string */ - char *strend; /* one byte beyond last char of match string */ - char *till; - SV *sv; - char *ganch; - char *cutpoint; + char *strend; /* one byte beyond last char of match string */ + char *till; /* matches shorter than this fail (see minlen arg) */ + SV *sv; /* the SV string currently being matched */ + char *ganch; /* position of \G anchor */ + char *cutpoint; /* (*COMMIT) position (if any) */ regmatch_info_aux *info_aux; /* extra fields that need cleanup */ regmatch_info_aux_eval *info_aux_eval; /* extra saved state for (?{}) */ I32 poscache_maxiter; /* how many whilems todo before S-L cache kicks in */ |