From da35f4caf751e91609a937f0c03c0efa1c608091 Mon Sep 17 00:00:00 2001 From: Richard Leach Date: Sun, 8 Mar 2020 13:09:30 +0000 Subject: regexp.h: no subbeg move when reordering regexp struct --- regexp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'regexp.h') diff --git a/regexp.h b/regexp.h index 50a043c974..59fa1b8a64 100644 --- a/regexp.h +++ b/regexp.h @@ -152,12 +152,12 @@ typedef struct regexp { /*---------------------------------------------------------------------- */ + char *subbeg; /* saved or original string so \digit works forever. */ SV_SAVED_COPY /* If non-NULL, SV which is COW from original */ SSize_t sublen; /* Length of string pointed by subbeg */ SSize_t suboffset; /* byte offset of subbeg from logical start of str */ SSize_t subcoffset; /* suboffset equiv, but in chars (for @-/@+) */ SSize_t maxlen; /* minimum possible number of chars in string to match */ - char *subbeg; /* saved or original string so \digit works forever. */ /*---------------------------------------------------------------------- */ -- cgit v1.2.1