blob: 142b3b3f9adbca4cb4bacad7b86e3959b79ee4e4 [file] [log] [blame]
Janis Danisevskis112c9cc2016-03-31 13:35:25 +01001PCRE2 LICENCE
2-------------
Nick Kralevichf73ff172014-09-27 12:41:49 -07003
Janis Danisevskis112c9cc2016-03-31 13:35:25 +01004PCRE2 is a library of functions to support regular expressions whose syntax
Nick Kralevichf73ff172014-09-27 12:41:49 -07005and semantics are as close as possible to those of the Perl 5 language.
6
Elliott Hughes653c2102019-01-09 15:41:36 -08007Releases 10.00 and above of PCRE2 are distributed under the terms of the "BSD"
8licence, as specified below, with one exemption for certain binary
9redistributions. The documentation for PCRE2, supplied in the "doc" directory,
10is distributed under the same terms as the software itself. The data in the
11testdata directory is not copyrighted and is in the public domain.
Nick Kralevichf73ff172014-09-27 12:41:49 -070012
13The basic library functions are written in C and are freestanding. Also
Janis Danisevskis112c9cc2016-03-31 13:35:25 +010014included in the distribution is a just-in-time compiler that can be used to
15optimize pattern matching. This is an optional feature that can be omitted when
16the library is built.
Nick Kralevichf73ff172014-09-27 12:41:49 -070017
18
19THE BASIC LIBRARY FUNCTIONS
20---------------------------
21
22Written by: Philip Hazel
23Email local part: ph10
24Email domain: cam.ac.uk
25
26University of Cambridge Computing Service,
27Cambridge, England.
28
Elliott Hughes0c26e192019-08-07 12:24:46 -070029Copyright (c) 1997-2019 University of Cambridge
Nick Kralevichf73ff172014-09-27 12:41:49 -070030All rights reserved.
31
32
Janis Danisevskis112c9cc2016-03-31 13:35:25 +010033PCRE2 JUST-IN-TIME COMPILATION SUPPORT
34--------------------------------------
Nick Kralevichf73ff172014-09-27 12:41:49 -070035
36Written by: Zoltan Herczeg
37Email local part: hzmester
Elliott Hughes653c2102019-01-09 15:41:36 -080038Email domain: freemail.hu
Nick Kralevichf73ff172014-09-27 12:41:49 -070039
Elliott Hughes0c26e192019-08-07 12:24:46 -070040Copyright(c) 2010-2019 Zoltan Herczeg
Nick Kralevichf73ff172014-09-27 12:41:49 -070041All rights reserved.
42
43
44STACK-LESS JUST-IN-TIME COMPILER
45--------------------------------
46
47Written by: Zoltan Herczeg
48Email local part: hzmester
Elliott Hughes653c2102019-01-09 15:41:36 -080049Email domain: freemail.hu
Nick Kralevichf73ff172014-09-27 12:41:49 -070050
Elliott Hughes0c26e192019-08-07 12:24:46 -070051Copyright(c) 2009-2019 Zoltan Herczeg
Nick Kralevichf73ff172014-09-27 12:41:49 -070052All rights reserved.
53
54
55THE "BSD" LICENCE
56-----------------
57
58Redistribution and use in source and binary forms, with or without
59modification, are permitted provided that the following conditions are met:
60
Elliott Hughes9bc971b2018-07-27 13:23:14 -070061 * Redistributions of source code must retain the above copyright notices,
Nick Kralevichf73ff172014-09-27 12:41:49 -070062 this list of conditions and the following disclaimer.
63
64 * Redistributions in binary form must reproduce the above copyright
Elliott Hughes9bc971b2018-07-27 13:23:14 -070065 notices, this list of conditions and the following disclaimer in the
Nick Kralevichf73ff172014-09-27 12:41:49 -070066 documentation and/or other materials provided with the distribution.
67
Janis Danisevskis112c9cc2016-03-31 13:35:25 +010068 * Neither the name of the University of Cambridge nor the names of any
69 contributors may be used to endorse or promote products derived from this
70 software without specific prior written permission.
Nick Kralevichf73ff172014-09-27 12:41:49 -070071
72THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
73AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
74IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
75ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
76LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
77CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
78SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
79INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
80CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
81ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
82POSSIBILITY OF SUCH DAMAGE.
83
Elliott Hughes9bc971b2018-07-27 13:23:14 -070084
85EXEMPTION FOR BINARY LIBRARY-LIKE PACKAGES
86------------------------------------------
87
88The second condition in the BSD licence (covering binary redistributions) does
89not apply all the way down a chain of software. If binary package A includes
90PCRE2, it must respect the condition, but if package B is software that
91includes package A, the condition is not imposed on package B unless it uses
92PCRE2 independently.
93
Nick Kralevichf73ff172014-09-27 12:41:49 -070094End