summaryrefslogtreecommitdiff
path: root/regexp.h
diff options
context:
space:
mode:
authorLarry Wall <lwall@netlabs.com>1993-10-07 23:00:00 +0000
committerLarry Wall <lwall@netlabs.com>1993-10-07 23:00:00 +0000
commit79072805bf63abe5b5978b5928ab00d360ea3e7f (patch)
tree96688fcd69f9c8d2110e93c350b4d0025eaf240d /regexp.h
parente334a159a5616cab575044bafaf68f75b7bb3a16 (diff)
downloadperl-79072805bf63abe5b5978b5928ab00d360ea3e7f.tar.gz
perl 5.0 alpha 2perl-5a2
[editor's note: from history.perl.org. The sparc executables originally included in the distribution are not in this commit.]
Diffstat (limited to 'regexp.h')
-rw-r--r--regexp.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/regexp.h b/regexp.h
index 33d9e3250e..1d0db51ad0 100644
--- a/regexp.h
+++ b/regexp.h
@@ -5,9 +5,11 @@
* not the System V one.
*/
-/* $RCSfile: regexp.h,v $$Revision: 4.0.1.2 $$Date: 91/11/05 18:24:31 $
+/* $RCSfile: regexp.h,v $$Revision: 4.1 $$Date: 92/08/07 18:26:35 $
*
* $Log: regexp.h,v $
+ * Revision 4.1 92/08/07 18:26:35 lwall
+ *
* 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 $*
@@ -25,12 +27,12 @@
typedef struct regexp {
char **startp;
char **endp;
- STR *regstart; /* Internal use only. */
+ SV *regstart; /* Internal use only. */
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 */
+ SV *regmust; /* Internal use only. */
+ I32 regback; /* Can regmust locate first try? */
+ I32 minlen; /* mininum possible length of $& */
+ I32 prelen; /* length of precomp */
char *precomp; /* pre-compilation regular expression */
char *subbase; /* saved string so \digit works forever */
char *subbeg; /* same, but not responsible for allocation */
@@ -45,6 +47,3 @@ typedef struct regexp {
#define ROPT_ANCH 1
#define ROPT_SKIP 2
#define ROPT_IMPLICIT 4
-
-regexp *regcomp();
-int regexec();