summaryrefslogtreecommitdiff
path: root/regexp.h
diff options
context:
space:
mode:
authorRichard Leach <richardleach@users.noreply.github.com>2020-03-08 13:09:30 +0000
committerKarl Williamson <khw@cpan.org>2020-03-11 08:59:23 -0600
commitda35f4caf751e91609a937f0c03c0efa1c608091 (patch)
tree99402878de3ab1d8b82be500504933a1582369cd /regexp.h
parent2bb68ff13bb0f9b946f40262471a292170252cf6 (diff)
downloadperl-da35f4caf751e91609a937f0c03c0efa1c608091.tar.gz
regexp.h: no subbeg move when reordering regexp struct
Diffstat (limited to 'regexp.h')
-rw-r--r--regexp.h2
1 files changed, 1 insertions, 1 deletions
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. */
/*---------------------------------------------------------------------- */