PCRE 4.5 relicensed to standard BSD, like later versions

(with permission from Philip Hazel)
This commit is contained in:
Glenn Maynard
2006-10-17 08:34:03 +00:00
parent e00b841aec
commit c7dff72292
7 changed files with 152 additions and 113 deletions
+26 -35
View File
@@ -4,51 +4,42 @@ PCRE LICENCE
PCRE is a library of functions to support regular expressions whose syntax PCRE 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. and semantics are as close as possible to those of the Perl 5 language.
This release of PCRE is distributed under the terms of the "BSD" licence,
as specified below. The documentation for PCRE, supplied in the "doc"
directory, is distributed under the same terms as the software itself.
Written by: Philip Hazel <[email protected]> Written by: Philip Hazel <[email protected]>
University of Cambridge Computing Service, University of Cambridge Computing Service,
Cambridge, England. Phone: +44 1223 334714. Cambridge, England. Phone: +44 1223 334714.
Copyright (c) 1997-2003 University of Cambridge Copyright (c) 1997-2003 University of Cambridge
All rights reserved.
Permission is granted to anyone to use this software for any purpose on any Redistribution and use in source and binary forms, with or without
computer system, and to redistribute it freely, subject to the following modification, are permitted provided that the following conditions are met:
restrictions:
1. This software is distributed in the hope that it will be useful, * Redistributions of source code must retain the above copyright notice,
but WITHOUT ANY WARRANTY; without even the implied warranty of this list of conditions and the following disclaimer.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
2. The origin of this software must not be misrepresented, either by * Redistributions in binary form must reproduce the above copyright
explicit claim or by omission. In practice, this means that if you use notice, this list of conditions and the following disclaimer in the
PCRE in software that you distribute to others, commercially or documentation and/or other materials provided with the distribution.
otherwise, you must put a sentence like this
Regular expression support is provided by the PCRE library package, * Neither the name of the University of Cambridge nor the names of its
which is open source software, written by Philip Hazel, and copyright contributors may be used to endorse or promote products derived from
by the University of Cambridge, England. this software without specific prior written permission.
somewhere reasonably visible in your documentation and in any relevant THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
files or online help data or similar. A reference to the ftp site for AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
the source, that is, to IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
should also be given in the documentation. However, this condition is not SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
intended to apply to whole chains of software. If package A includes PCRE, INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
it must acknowledge it, but if package B is software that includes package CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
A, the condition is not imposed on package B (unless it uses PCRE ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
independently). POSSIBILITY OF SUCH DAMAGE.
3. Altered versions must be plainly marked as such, and must not be
misrepresented as being the original software.
4. If PCRE is embedded in any software that is released under the GNU
General Purpose Licence (GPL), or Lesser General Purpose Licence (LGPL),
then the terms of that licence shall supersede any condition above with
which it is incompatible.
The documentation for PCRE, supplied in the "doc" directory, is distributed
under the same terms as the software itself.
End End
+21 -13
View File
@@ -12,23 +12,31 @@ Written by: Philip Hazel <[email protected]>
Copyright (c) 1997-2003 University of Cambridge Copyright (c) 1997-2003 University of Cambridge
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Permission is granted to anyone to use this software for any purpose on any Redistribution and use in source and binary forms, with or without
computer system, and to redistribute it freely, subject to the following modification, are permitted provided that the following conditions are met:
restrictions:
1. This software is distributed in the hope that it will be useful, * Redistributions of source code must retain the above copyright notice,
but WITHOUT ANY WARRANTY; without even the implied warranty of this list of conditions and the following disclaimer.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
2. The origin of this software must not be misrepresented, either by * Redistributions in binary form must reproduce the above copyright
explicit claim or by omission. notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Altered versions must be plainly marked as such, and must not be * Neither the name of the University of Cambridge nor the names of its
misrepresented as being the original software. contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
4. If PCRE is embedded in any software that is released under the GNU THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
General Purpose Licence (GPL), then the terms of that licence shall AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
supersede any condition above with which it is incompatible. 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.
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
*/ */
+21 -13
View File
@@ -12,23 +12,31 @@ Written by: Philip Hazel <[email protected]>
Copyright (c) 1997-2003 University of Cambridge Copyright (c) 1997-2003 University of Cambridge
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Permission is granted to anyone to use this software for any purpose on any Redistribution and use in source and binary forms, with or without
computer system, and to redistribute it freely, subject to the following modification, are permitted provided that the following conditions are met:
restrictions:
1. This software is distributed in the hope that it will be useful, * Redistributions of source code must retain the above copyright notice,
but WITHOUT ANY WARRANTY; without even the implied warranty of this list of conditions and the following disclaimer.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
2. The origin of this software must not be misrepresented, either by * Redistributions in binary form must reproduce the above copyright
explicit claim or by omission. notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Altered versions must be plainly marked as such, and must not be * Neither the name of the University of Cambridge nor the names of its
misrepresented as being the original software. contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
4. If PCRE is embedded in any software that is released under the GNU THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
General Purpose Licence (GPL), then the terms of that licence shall AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
supersede any condition above with which it is incompatible. 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.
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
*/ */
+21 -13
View File
@@ -11,23 +11,31 @@ Written by: Philip Hazel <[email protected]>
Copyright (c) 1997-2003 University of Cambridge Copyright (c) 1997-2003 University of Cambridge
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Permission is granted to anyone to use this software for any purpose on any Redistribution and use in source and binary forms, with or without
computer system, and to redistribute it freely, subject to the following modification, are permitted provided that the following conditions are met:
restrictions:
1. This software is distributed in the hope that it will be useful, * Redistributions of source code must retain the above copyright notice,
but WITHOUT ANY WARRANTY; without even the implied warranty of this list of conditions and the following disclaimer.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
2. The origin of this software must not be misrepresented, either by * Redistributions in binary form must reproduce the above copyright
explicit claim or by omission. notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Altered versions must be plainly marked as such, and must not be * Neither the name of the University of Cambridge nor the names of its
misrepresented as being the original software. contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
4. If PCRE is embedded in any software that is released under the GNU THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
General Purpose Licence (GPL), then the terms of that licence shall AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
supersede any condition above with which it is incompatible. 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.
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
See the file Tech.Notes for some information on the internals. See the file Tech.Notes for some information on the internals.
+21 -13
View File
@@ -12,23 +12,31 @@ Written by: Philip Hazel <[email protected]>
Copyright (c) 1997-2003 University of Cambridge Copyright (c) 1997-2003 University of Cambridge
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Permission is granted to anyone to use this software for any purpose on any Redistribution and use in source and binary forms, with or without
computer system, and to redistribute it freely, subject to the following modification, are permitted provided that the following conditions are met:
restrictions:
1. This software is distributed in the hope that it will be useful, * Redistributions of source code must retain the above copyright notice,
but WITHOUT ANY WARRANTY; without even the implied warranty of this list of conditions and the following disclaimer.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
2. The origin of this software must not be misrepresented, either by * Redistributions in binary form must reproduce the above copyright
explicit claim or by omission. notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Altered versions must be plainly marked as such, and must not be * Neither the name of the University of Cambridge nor the names of its
misrepresented as being the original software. contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
4. If PCRE is embedded in any software that is released under the GNU THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
General Purpose Licence (GPL), then the terms of that licence shall AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
supersede any condition above with which it is incompatible. 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.
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
*/ */
+21 -13
View File
@@ -12,23 +12,31 @@ Written by: Philip Hazel <[email protected]>
Copyright (c) 1997-2003 University of Cambridge Copyright (c) 1997-2003 University of Cambridge
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Permission is granted to anyone to use this software for any purpose on any Redistribution and use in source and binary forms, with or without
computer system, and to redistribute it freely, subject to the following modification, are permitted provided that the following conditions are met:
restrictions:
1. This software is distributed in the hope that it will be useful, * Redistributions of source code must retain the above copyright notice,
but WITHOUT ANY WARRANTY; without even the implied warranty of this list of conditions and the following disclaimer.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
2. The origin of this software must not be misrepresented, either by * Redistributions in binary form must reproduce the above copyright
explicit claim or by omission. notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Altered versions must be plainly marked as such, and must not be * Neither the name of the University of Cambridge nor the names of its
misrepresented as being the original software. contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
4. If PCRE is embedded in any software that is released under the GNU THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
General Purpose Licence (GPL), then the terms of that licence shall AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
supersede any condition above with which it is incompatible. 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.
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
*/ */
+21 -13
View File
@@ -12,23 +12,31 @@ Written by: Philip Hazel <[email protected]>
Copyright (c) 1997-2003 University of Cambridge Copyright (c) 1997-2003 University of Cambridge
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Permission is granted to anyone to use this software for any purpose on any Redistribution and use in source and binary forms, with or without
computer system, and to redistribute it freely, subject to the following modification, are permitted provided that the following conditions are met:
restrictions:
1. This software is distributed in the hope that it will be useful, * Redistributions of source code must retain the above copyright notice,
but WITHOUT ANY WARRANTY; without even the implied warranty of this list of conditions and the following disclaimer.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
2. The origin of this software must not be misrepresented, either by * Redistributions in binary form must reproduce the above copyright
explicit claim or by omission. notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Altered versions must be plainly marked as such, and must not be * Neither the name of the University of Cambridge nor the names of its
misrepresented as being the original software. contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
4. If PCRE is embedded in any software that is released under the GNU THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
General Purpose Licence (GPL), then the terms of that licence shall AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
supersede any condition above with which it is incompatible. 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.
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
*/ */