From 7fd9fe181150f166a098eaf4e006f878c28cb770 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Mon, 15 Feb 2010 05:51:01 +0300 Subject: sort --- Utilities/PCRE/pcre_subst/pcre_subst.h | 35 ++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Utilities/PCRE/pcre_subst/pcre_subst.h (limited to 'Utilities/PCRE/pcre_subst/pcre_subst.h') 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 + + 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 *); -- cgit v1.2.3