This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
More preparation for 7.0 in versioning
[perl5.git] / regexp.h
index 50a043c..e12c6a9 100644 (file)
--- 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. */
 
     /*---------------------------------------------------------------------- */
 
@@ -826,7 +826,7 @@ typedef struct regmatch_state {
        } keeper;
 
         /* quantifiers - these members are used for storing state for
-           for the regops used to implement quantifiers */
+           the regops used to implement quantifiers */
        struct {
            /* this first element must match u.yes */
            struct regmatch_state *prev_yes_state;