summaryrefslogtreecommitdiff
path: root/regexp.h
diff options
context:
space:
mode:
authorIlya Zakharevich <ilya@math.berkeley.edu>1998-12-08 11:02:04 +0200
committerJarkko Hietaniemi <jhi@iki.fi>1998-12-29 11:27:11 +0000
commitad94a51148da69b36625e16c155cd6147ed14f1a (patch)
tree81185c6bda2609aafa161d1fb093e26315fe3d4b /regexp.h
parent54b6e2faa887aa86b7b0c280adebcdc0f0804c55 (diff)
downloadperl-ad94a51148da69b36625e16c155cd6147ed14f1a.tar.gz
Bugs in hairy interactions of feature in REx
To: perl5-porters@perl.org (Mailing list Perl5) Message-ID: <MLIST_199812080637.BAA16025@monk.mps.ohio-state.edu> \G fixes (wasn't working right with //g, s///, and $_ in (?{})). p4raw-id: //depot/cfgperl@2515
Diffstat (limited to 'regexp.h')
-rw-r--r--regexp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/regexp.h b/regexp.h
index 67410a5e7b..b1170f1e06 100644
--- a/regexp.h
+++ b/regexp.h
@@ -103,6 +103,7 @@ typedef struct regexp {
#define REXEC_COPY_STR 1 /* Need to copy the string. */
#define REXEC_CHECKED 2 /* check_substr already checked. */
#define REXEC_SCREAM 4 /* use scream table. */
+#define REXEC_IGNOREPOS 8 /* \G matches at start. */
#define ReREFCNT_inc(re) ((re && re->refcnt++), re)
#define ReREFCNT_dec(re) pregfree(re)