diff options
| author | Andrey Hristov <andrey@php.net> | 1999-05-21 13:17:23 +0000 |
|---|---|---|
| committer | Andrey Hristov <andrey@php.net> | 1999-05-21 13:17:23 +0000 |
| commit | 17bbbf29636908d39c398206a3af6e262707e617 (patch) | |
| tree | cc0d43c8b4422e63df5d5d64d165df084c888d7d /ext/pcre/config.h.stub | |
| parent | b57dc275950b228f2399990471c4f22b7d154c6c (diff) | |
| download | php-git-17bbbf29636908d39c398206a3af6e262707e617.tar.gz | |
Initial check-in of PCRE (Perl Compatible Regular Expressions) extension.
PCRE library can be found at ftp://ftp.cus.cam.ac.uk/pub/software/programs/pcre/
config.m4 will be updated to be more robust later on.
perl_match() takes a regular expression, the source string, and the array
for subpattern matches.
perl_replace() takes a regular expression, the search string, and the replacement
string.
Regular expression is specified using delimiters and options. Example:
perl_match("/<[a-z]*>/i", $text, $tags);
More stuff is coming soon.
Diffstat (limited to 'ext/pcre/config.h.stub')
| -rw-r--r-- | ext/pcre/config.h.stub | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/pcre/config.h.stub b/ext/pcre/config.h.stub new file mode 100644 index 0000000000..334cff6697 --- /dev/null +++ b/ext/pcre/config.h.stub @@ -0,0 +1,2 @@ +/* define if you want to use the pcre extension */ +#define HAVE_LIBPCRE 0 |
