summaryrefslogtreecommitdiff
path: root/Utilities/PCRE/pcre_subst/pcre_subst.h
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@gmail.com>2010-02-15 05:51:01 +0300
committerGluzskiy Alexandr <sss123next@gmail.com>2010-02-15 05:51:01 +0300
commit7fd9fe181150f166a098eaf4e006f878c28cb770 (patch)
tree093af9d26a08e6bac60112a9c5f2f870ddef0fe8 /Utilities/PCRE/pcre_subst/pcre_subst.h
parent6f32ef233b95d78efb905c97081193a2a454590e (diff)
sort
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 *);