4 PCRE2 is a library of functions to support regular expressions whose syntax
5 and semantics are as close as possible to those of the Perl 5 language.
7 Releases 10.00 and above of PCRE2 are distributed under the terms of the "BSD"
8 licence, as specified below, with one exemption for certain binary
9 redistributions. The documentation for PCRE2, supplied in the "doc" directory,
10 is distributed under the same terms as the software itself. The data in the
11 testdata directory is not copyrighted and is in the public domain.
13 The basic library functions are written in C and are freestanding. Also
14 included in the distribution is a just-in-time compiler that can be used to
15 optimize pattern matching. This is an optional feature that can be omitted when
19 THE BASIC LIBRARY FUNCTIONS
20 ---------------------------
22 Written by: Philip Hazel
23 Email local part: ph10
24 Email domain: cam.ac.uk
26 University of Cambridge Computing Service,
29 Copyright (c) 1997-2018 University of Cambridge
33 PCRE2 JUST-IN-TIME COMPILATION SUPPORT
34 --------------------------------------
36 Written by: Zoltan Herczeg
37 Email local part: hzmester
38 Email domain: freemail.hu
40 Copyright(c) 2010-2018 Zoltan Herczeg
44 STACK-LESS JUST-IN-TIME COMPILER
45 --------------------------------
47 Written by: Zoltan Herczeg
48 Email local part: hzmester
49 Email domain: freemail.hu
51 Copyright(c) 2009-2018 Zoltan Herczeg
58 Redistribution and use in source and binary forms, with or without
59 modification, are permitted provided that the following conditions are met:
61 * Redistributions of source code must retain the above copyright notices,
62 this list of conditions and the following disclaimer.
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.
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.
72 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
73 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
74 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
75 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
76 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
77 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
78 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
79 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
80 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
81 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
82 POSSIBILITY OF SUCH DAMAGE.
85 EXEMPTION FOR BINARY LIBRARY-LIKE PACKAGES
86 ------------------------------------------
88 The second condition in the BSD licence (covering binary redistributions) does
89 not apply all the way down a chain of software. If binary package A includes
90 PCRE2, it must respect the condition, but if package B is software that
91 includes package A, the condition is not imposed on package B unless it uses