summaryrefslogtreecommitdiff
path: root/regexp.h
diff options
context:
space:
mode:
authorLarry Wall <lwall@netlabs.com>1991-11-05 09:55:53 +0000
committerLarry Wall <lwall@netlabs.com>1991-11-05 09:55:53 +0000
commit55204971972392ce5a252fbbd6d78b1c48ed70e3 (patch)
treea0fc0fa7a40dae3b455667572b9aac94b020c246 /regexp.h
parentde3bb51191e884300caf98892ecfcc0ca3ebc09c (diff)
downloadperl-55204971972392ce5a252fbbd6d78b1c48ed70e3.tar.gz
perl 4.0 patch 18: patch #11, continued
See patch #11.
Diffstat (limited to 'regexp.h')
-rw-r--r--regexp.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/regexp.h b/regexp.h
index 573187488e..33d9e3250e 100644
--- a/regexp.h
+++ b/regexp.h
@@ -5,9 +5,13 @@
* not the System V one.
*/
-/* $RCSfile: regexp.h,v $$Revision: 4.0.1.1 $$Date: 91/06/07 11:51:18 $
+/* $RCSfile: regexp.h,v $$Revision: 4.0.1.2 $$Date: 91/11/05 18:24:31 $
*
* $Log: regexp.h,v $
+ * Revision 4.0.1.2 91/11/05 18:24:31 lwall
+ * patch11: minimum match length calculation in regexp is now cumulative
+ * patch11: initial .* in pattern had dependency on value of $*
+ *
* Revision 4.0.1.1 91/06/07 11:51:18 lwall
* patch4: new copyright notice
* patch4: // wouldn't use previous pattern if it started with a null character
@@ -25,6 +29,7 @@ typedef struct regexp {
char *regstclass;
STR *regmust; /* Internal use only. */
int regback; /* Can regmust locate first try? */
+ int minlen; /* mininum possible length of $& */
int prelen; /* length of precomp */
char *precomp; /* pre-compilation regular expression */
char *subbase; /* saved string so \digit works forever */
@@ -39,6 +44,7 @@ typedef struct regexp {
#define ROPT_ANCH 1
#define ROPT_SKIP 2
+#define ROPT_IMPLICIT 4
regexp *regcomp();
int regexec();