This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Perl_list(): add blank lines
[perl5.git] / regexp.h
index 9d43083..0f35205 100644 (file)
--- a/regexp.h
+++ b/regexp.h
@@ -715,6 +715,7 @@ typedef struct regmatch_state {
     int resume_state;          /* where to jump to on return */
     char *locinput;            /* where to backtrack in string on failure */
     char *loceol;
+    U8 *sr0;                    /* position of start of script run, or NULL */
 
     union {
 
@@ -807,6 +808,9 @@ typedef struct regmatch_state {
            struct regmatch_state *prev_yes_state;
            I32 wanted;
            I32 logical;        /* saved copy of 'logical' var */
+            U8  count;          /* number of beginning positions */
+            char *start;
+            char *end;
            regnode  *me; /* the IFMATCH/SUSPEND/UNLESSM node  */
        } ifmatch; /* and SUSPEND/UNLESSM */