2015-09-13 03:59:40 +08:00
|
|
|
PCRE2 LICENCE
|
|
|
|
-------------
|
|
|
|
|
|
|
|
PCRE2 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.
|
|
|
|
|
2018-12-29 21:33:00 +08:00
|
|
|
Releases 10.00 and above of PCRE2 are distributed under the terms of the "BSD"
|
|
|
|
licence, as specified below, with one exemption for certain binary
|
|
|
|
redistributions. The documentation for PCRE2, supplied in the "doc" directory,
|
|
|
|
is distributed under the same terms as the software itself. The data in the
|
|
|
|
testdata directory is not copyrighted and is in the public domain.
|
2015-09-13 03:59:40 +08:00
|
|
|
|
|
|
|
The basic library functions are written in C and are freestanding. Also
|
|
|
|
included in the distribution is a just-in-time compiler that can be used to
|
|
|
|
optimize pattern matching. This is an optional feature that can be omitted when
|
|
|
|
the library is built.
|
|
|
|
|
|
|
|
|
|
|
|
THE BASIC LIBRARY FUNCTIONS
|
|
|
|
---------------------------
|
|
|
|
|
|
|
|
Written by: Philip Hazel
|
|
|
|
Email local part: ph10
|
|
|
|
Email domain: cam.ac.uk
|
|
|
|
|
|
|
|
University of Cambridge Computing Service,
|
|
|
|
Cambridge, England.
|
|
|
|
|
Take an axe to vendored PCRE2 bits & update it to 10.34
This commit updates PCRE2 to 10.34, and we no longer include what's in their
tarball as-is. I've yanked out a lot of uneccessary stuff for the sake of the
size of our codebase.
original pcre2-10.34 dir: 11.5MB
pcre2 dir in this commit: 1.6MB
* Remove documentation, makefiles, test suites, etc. LICENSE remains.
* Disable building tests when configuring PCRE2
* Yard out JIT support: delete src/jit, src/pcre2_jit_*.c, and code doing
stuff to code->executable_jit that needs a jit header (it was already NULL
because we've always built with JIT disabled).
* Remove most .c and .h files not needed to compile: pcre2grep code,
pcre2test code, dftables.c, pcre2_printint.c, pcre2_fuzzsupport.c ...
* Remove FindBZip2, FindZLIB, FindReadline, FindEditline. These were used
only by pcre2grep and made CMake's report misleading with regard to
optional packages being used.
* Remove configure.ac except for version number and date which CMake checks
Next time we update PCRE2, refer to this commit message as well as a diff
between pcre2-10.34.tar.gz and ./pcre2-10.34/. Or better yet, cease including
pcre2.
2020-02-18 21:07:45 +08:00
|
|
|
Copyright (c) 1997-2019 University of Cambridge
|
2015-09-13 03:59:40 +08:00
|
|
|
All rights reserved.
|
|
|
|
|
|
|
|
|
|
|
|
PCRE2 JUST-IN-TIME COMPILATION SUPPORT
|
|
|
|
--------------------------------------
|
|
|
|
|
|
|
|
Written by: Zoltan Herczeg
|
|
|
|
Email local part: hzmester
|
2018-12-29 21:33:00 +08:00
|
|
|
Email domain: freemail.hu
|
2015-09-13 03:59:40 +08:00
|
|
|
|
Take an axe to vendored PCRE2 bits & update it to 10.34
This commit updates PCRE2 to 10.34, and we no longer include what's in their
tarball as-is. I've yanked out a lot of uneccessary stuff for the sake of the
size of our codebase.
original pcre2-10.34 dir: 11.5MB
pcre2 dir in this commit: 1.6MB
* Remove documentation, makefiles, test suites, etc. LICENSE remains.
* Disable building tests when configuring PCRE2
* Yard out JIT support: delete src/jit, src/pcre2_jit_*.c, and code doing
stuff to code->executable_jit that needs a jit header (it was already NULL
because we've always built with JIT disabled).
* Remove most .c and .h files not needed to compile: pcre2grep code,
pcre2test code, dftables.c, pcre2_printint.c, pcre2_fuzzsupport.c ...
* Remove FindBZip2, FindZLIB, FindReadline, FindEditline. These were used
only by pcre2grep and made CMake's report misleading with regard to
optional packages being used.
* Remove configure.ac except for version number and date which CMake checks
Next time we update PCRE2, refer to this commit message as well as a diff
between pcre2-10.34.tar.gz and ./pcre2-10.34/. Or better yet, cease including
pcre2.
2020-02-18 21:07:45 +08:00
|
|
|
Copyright(c) 2010-2019 Zoltan Herczeg
|
2015-09-13 03:59:40 +08:00
|
|
|
All rights reserved.
|
|
|
|
|
|
|
|
|
|
|
|
STACK-LESS JUST-IN-TIME COMPILER
|
|
|
|
--------------------------------
|
|
|
|
|
|
|
|
Written by: Zoltan Herczeg
|
|
|
|
Email local part: hzmester
|
2018-12-29 21:33:00 +08:00
|
|
|
Email domain: freemail.hu
|
2015-09-13 03:59:40 +08:00
|
|
|
|
Take an axe to vendored PCRE2 bits & update it to 10.34
This commit updates PCRE2 to 10.34, and we no longer include what's in their
tarball as-is. I've yanked out a lot of uneccessary stuff for the sake of the
size of our codebase.
original pcre2-10.34 dir: 11.5MB
pcre2 dir in this commit: 1.6MB
* Remove documentation, makefiles, test suites, etc. LICENSE remains.
* Disable building tests when configuring PCRE2
* Yard out JIT support: delete src/jit, src/pcre2_jit_*.c, and code doing
stuff to code->executable_jit that needs a jit header (it was already NULL
because we've always built with JIT disabled).
* Remove most .c and .h files not needed to compile: pcre2grep code,
pcre2test code, dftables.c, pcre2_printint.c, pcre2_fuzzsupport.c ...
* Remove FindBZip2, FindZLIB, FindReadline, FindEditline. These were used
only by pcre2grep and made CMake's report misleading with regard to
optional packages being used.
* Remove configure.ac except for version number and date which CMake checks
Next time we update PCRE2, refer to this commit message as well as a diff
between pcre2-10.34.tar.gz and ./pcre2-10.34/. Or better yet, cease including
pcre2.
2020-02-18 21:07:45 +08:00
|
|
|
Copyright(c) 2009-2019 Zoltan Herczeg
|
2015-09-13 03:59:40 +08:00
|
|
|
All rights reserved.
|
|
|
|
|
|
|
|
|
|
|
|
THE "BSD" LICENCE
|
|
|
|
-----------------
|
|
|
|
|
|
|
|
Redistribution and use in source and binary forms, with or without
|
|
|
|
modification, are permitted provided that the following conditions are met:
|
|
|
|
|
2018-12-29 21:33:00 +08:00
|
|
|
* Redistributions of source code must retain the above copyright notices,
|
2015-09-13 03:59:40 +08:00
|
|
|
this list of conditions and the following disclaimer.
|
|
|
|
|
|
|
|
* Redistributions in binary form must reproduce the above copyright
|
2018-12-29 21:33:00 +08:00
|
|
|
notices, this list of conditions and the following disclaimer in the
|
2015-09-13 03:59:40 +08:00
|
|
|
documentation and/or other materials provided with the distribution.
|
|
|
|
|
|
|
|
* Neither the name of the University of Cambridge nor the names of any
|
|
|
|
contributors may be used to endorse or promote products derived from this
|
|
|
|
software without specific prior written permission.
|
|
|
|
|
|
|
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
|
|
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
|
|
|
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
|
|
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
|
|
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
|
|
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
|
|
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
|
|
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
|
|
POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
2018-12-29 21:33:00 +08:00
|
|
|
|
|
|
|
EXEMPTION FOR BINARY LIBRARY-LIKE PACKAGES
|
|
|
|
------------------------------------------
|
|
|
|
|
|
|
|
The second condition in the BSD licence (covering binary redistributions) does
|
|
|
|
not apply all the way down a chain of software. If binary package A includes
|
|
|
|
PCRE2, it must respect the condition, but if package B is software that
|
|
|
|
includes package A, the condition is not imposed on package B unless it uses
|
|
|
|
PCRE2 independently.
|
|
|
|
|
2015-09-13 03:59:40 +08:00
|
|
|
End
|