Elliott Hughes | 5b80804 | 2021-10-01 10:56:10 -0700 | [diff] [blame] | 1 | PCRE2 LICENCE |
| 2 | ------------- |
| 3 | |
| 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. |
| 6 | |
| 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. |
| 12 | |
| 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 |
| 16 | the library is built. |
| 17 | |
| 18 | |
| 19 | THE BASIC LIBRARY FUNCTIONS |
| 20 | --------------------------- |
| 21 | |
| 22 | Written by: Philip Hazel |
| 23 | Email local part: Philip.Hazel |
| 24 | Email domain: gmail.com |
| 25 | |
| 26 | Retired from University of Cambridge Computing Service, |
| 27 | Cambridge, England. |
| 28 | |
| 29 | Copyright (c) 1997-2021 University of Cambridge |
| 30 | All rights reserved. |
| 31 | |
| 32 | |
| 33 | PCRE2 JUST-IN-TIME COMPILATION SUPPORT |
| 34 | -------------------------------------- |
| 35 | |
| 36 | Written by: Zoltan Herczeg |
| 37 | Email local part: hzmester |
| 38 | Email domain: freemail.hu |
| 39 | |
| 40 | Copyright(c) 2010-2021 Zoltan Herczeg |
| 41 | All rights reserved. |
| 42 | |
| 43 | |
| 44 | STACK-LESS JUST-IN-TIME COMPILER |
| 45 | -------------------------------- |
| 46 | |
| 47 | Written by: Zoltan Herczeg |
| 48 | Email local part: hzmester |
| 49 | Email domain: freemail.hu |
| 50 | |
| 51 | Copyright(c) 2009-2021 Zoltan Herczeg |
| 52 | All rights reserved. |
| 53 | |
| 54 | |
| 55 | THE "BSD" LICENCE |
| 56 | ----------------- |
| 57 | |
| 58 | Redistribution and use in source and binary forms, with or without |
| 59 | modification, 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 | |
| 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. |
| 83 | |
| 84 | |
| 85 | EXEMPTION FOR BINARY LIBRARY-LIKE PACKAGES |
| 86 | ------------------------------------------ |
| 87 | |
| 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 |
| 92 | PCRE2 independently. |
| 93 | |
| 94 | End |