blob: b1ec61be440ca19dea41f10f41f134f2ce11d6dd [file] [log] [blame]
Elliott Hughes5b808042021-10-01 10:56:10 -07001PCRE2 LICENCE
2-------------
3
4PCRE2 is a library of functions to support regular expressions whose syntax
5and semantics are as close as possible to those of the Perl 5 language.
6
7Releases 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.
12
13The basic library functions are written in C and are freestanding. Also
14included 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.
17
18
19THE BASIC LIBRARY FUNCTIONS
20---------------------------
21
22Written by: Philip Hazel
23Email local part: Philip.Hazel
24Email domain: gmail.com
25
26Retired from University of Cambridge Computing Service,
27Cambridge, England.
28
29Copyright (c) 1997-2021 University of Cambridge
30All rights reserved.
31
32
33PCRE2 JUST-IN-TIME COMPILATION SUPPORT
34--------------------------------------
35
36Written by: Zoltan Herczeg
37Email local part: hzmester
38Email domain: freemail.hu
39
40Copyright(c) 2010-2021 Zoltan Herczeg
41All rights reserved.
42
43
44STACK-LESS JUST-IN-TIME COMPILER
45--------------------------------
46
47Written by: Zoltan Herczeg
48Email local part: hzmester
49Email domain: freemail.hu
50
51Copyright(c) 2009-2021 Zoltan Herczeg
52All 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
61 * Redistributions of source code must retain the above copyright notices,
62 this list of conditions and the following disclaimer.
63
64 * Redistributions in binary form must reproduce the above copyright
65 notices, this list of conditions and the following disclaimer in the
66 documentation and/or other materials provided with the distribution.
67
68 * 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.
71
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
84
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
94End