From 28d03b21d43611f97565be8d077b7f8eb0bda26a Mon Sep 17 00:00:00 2001 From: David Mitchell Date: Fri, 31 May 2013 23:44:44 +0100 Subject: [PATCH] document fields of regmatch_info struct --- regexp.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/regexp.h b/regexp.h index 5422bd1..a86963c 100644 --- a/regexp.h +++ b/regexp.h @@ -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 */ -- 1.8.3.1