4 |
PCRE is a library of functions to support regular expressions whose syntax |
PCRE 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. |
and semantics are as close as possible to those of the Perl 5 language. |
6 |
|
|
7 |
|
Release 5 of PCRE is distributed under the terms of the "BSD" licence, as |
8 |
|
specified below. The documentation for PCRE, supplied in the "doc" |
9 |
|
directory, is distributed under the same terms as the software itself. |
10 |
|
|
11 |
Written by: Philip Hazel <ph10@cam.ac.uk> |
Written by: Philip Hazel <ph10@cam.ac.uk> |
12 |
|
|
13 |
University of Cambridge Computing Service, |
University of Cambridge Computing Service, |
14 |
Cambridge, England. Phone: +44 1223 334714. |
Cambridge, England. Phone: +44 1223 334714. |
15 |
|
|
16 |
Copyright (c) 1997-2003 University of Cambridge |
Copyright (c) 1997-2004 University of Cambridge |
17 |
|
All rights reserved. |
18 |
|
|
19 |
|
Redistribution and use in source and binary forms, with or without |
20 |
|
modification, are permitted provided that the following conditions are met: |
21 |
|
|
22 |
Permission is granted to anyone to use this software for any purpose on any |
* Redistributions of source code must retain the above copyright notice, |
23 |
computer system, and to redistribute it freely, subject to the following |
this list of conditions and the following disclaimer. |
|
restrictions: |
|
|
|
|
|
1. This software is distributed in the hope that it will be useful, |
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|
|
|
|
|
2. The origin of this software must not be misrepresented, either by |
|
|
explicit claim or by omission. In practice, this means that if you use |
|
|
PCRE in software that you distribute to others, commercially or |
|
|
otherwise, you must put a sentence like this |
|
|
|
|
|
Regular expression support is provided by the PCRE library package, |
|
|
which is open source software, written by Philip Hazel, and copyright |
|
|
by the University of Cambridge, England. |
|
|
|
|
|
somewhere reasonably visible in your documentation and in any relevant |
|
|
files or online help data or similar. A reference to the ftp site for |
|
|
the source, that is, to |
|
|
|
|
|
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ |
|
|
|
|
|
should also be given in the documentation. However, this condition is not |
|
|
intended to apply to whole chains of software. If package A includes PCRE, |
|
|
it must acknowledge it, but if package B is software that includes package |
|
|
A, the condition is not imposed on package B (unless it uses PCRE |
|
|
independently). |
|
|
|
|
|
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. |
|
24 |
|
|
25 |
The documentation for PCRE, supplied in the "doc" directory, is distributed |
* Redistributions in binary form must reproduce the above copyright |
26 |
under the same terms as the software itself. |
notice, this list of conditions and the following disclaimer in the |
27 |
|
documentation and/or other materials provided with the distribution. |
28 |
|
|
29 |
|
* Neither the name of the University of Cambridge nor the names of its |
30 |
|
contributors may be used to endorse or promote products derived from |
31 |
|
this software without specific prior written permission. |
32 |
|
|
33 |
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
34 |
|
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
35 |
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
36 |
|
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE |
37 |
|
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
38 |
|
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
39 |
|
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
40 |
|
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
41 |
|
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
42 |
|
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
43 |
|
POSSIBILITY OF SUCH DAMAGE. |
44 |
|
|
45 |
End |
End |