summaryrefslogtreecommitdiff
path: root/Utilities/PCRE/pcre_subst/pcre_subst.h
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/PCRE/pcre_subst/pcre_subst.h')
-rw-r--r--Utilities/PCRE/pcre_subst/pcre_subst.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/Utilities/PCRE/pcre_subst/pcre_subst.h b/Utilities/PCRE/pcre_subst/pcre_subst.h
new file mode 100644
index 0000000..e4f4c44
--- /dev/null
+++ b/Utilities/PCRE/pcre_subst/pcre_subst.h
@@ -0,0 +1,35 @@
+/*************************************************
+* PCRE string replacement *
+*************************************************/
+
+/*
+PCRE is a library of functions to support regular expressions whose syntax
+and semantics are as close as possible to those of the Perl 5 language.
+pcre_subst is a wrapper around pcre_exec designed to make it easier to
+perform PERL style replacements with PCRE.
+
+Written by: Bert Driehuis <driehuis@playbeing.org>
+
+ Copyright (c) 2000 Bert Driehuis
+
+-----------------------------------------------------------------------------
+Permission is granted to anyone to use this software for any purpose on any
+computer system, and to redistribute it freely, subject to the following
+restrictions:
+
+1. This software is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+2. The origin of this software must not be misrepresented, either by
+ explicit claim or by omission.
+
+3. Altered versions must be plainly marked as such, and must not be
+ misrepresented as being the original software.
+
+4. If PCRE is embedded in any software that is released under the GNU
+ General Purpose Licence (GPL), then the terms of that licence shall
+ supersede any condition above with which it is incompatible.
+*/
+
+char *pcre_subst(const pcre *, const pcre_extra *, const char *, int, int, int, const char *);