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 |
Written by: Philip Hazel <ph10@cam.ac.uk> |
Release 8 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 |
|
The basic library functions are written in C and are freestanding. Also |
12 |
|
included in the distribution is a set of C++ wrapper functions, and a |
13 |
|
just-in-time compiler that can be used to optimize pattern matching. These |
14 |
|
are both optional features that can be omitted when the library is built. |
15 |
|
|
16 |
|
|
17 |
|
THE BASIC LIBRARY FUNCTIONS |
18 |
|
--------------------------- |
19 |
|
|
20 |
|
Written by: Philip Hazel |
21 |
|
Email local part: ph10 |
22 |
|
Email domain: cam.ac.uk |
23 |
|
|
24 |
University of Cambridge Computing Service, |
University of Cambridge Computing Service, |
25 |
Cambridge, England. Phone: +44 1223 334714. |
Cambridge, England. |
26 |
|
|
27 |
Copyright (c) 1997-2003 University of Cambridge |
Copyright (c) 1997-2012 University of Cambridge |
28 |
|
All rights reserved. |
29 |
|
|
|
Permission is granted to anyone to use this software for any purpose on any |
|
|
computer system, and to redistribute it freely, subject to the following |
|
|
restrictions: |
|
30 |
|
|
31 |
1. This software is distributed in the hope that it will be useful, |
PCRE JUST-IN-TIME COMPILATION SUPPORT |
32 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
------------------------------------- |
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|
33 |
|
|
34 |
2. The origin of this software must not be misrepresented, either by |
Written by: Zoltan Herczeg |
35 |
explicit claim or by omission. In practice, this means that if you use |
Email local part: hzmester |
36 |
PCRE in software that you distribute to others, commercially or |
Emain domain: freemail.hu |
|
otherwise, you must put a sentence like this |
|
37 |
|
|
38 |
Regular expression support is provided by the PCRE library package, |
Copyright(c) 2010-2012 Zoltan Herczeg |
39 |
which is open source software, written by Philip Hazel, and copyright |
All rights reserved. |
|
by the University of Cambridge, England. |
|
40 |
|
|
|
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 |
|
41 |
|
|
42 |
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ |
STACK-LESS JUST-IN-TIME COMPILER |
43 |
|
-------------------------------- |
44 |
|
|
45 |
should also be given in the documentation. However, this condition is not |
Written by: Zoltan Herczeg |
46 |
intended to apply to whole chains of software. If package A includes PCRE, |
Email local part: hzmester |
47 |
it must acknowledge it, but if package B is software that includes package |
Emain domain: freemail.hu |
|
A, the condition is not imposed on package B (unless it uses PCRE |
|
|
independently). |
|
48 |
|
|
49 |
3. Altered versions must be plainly marked as such, and must not be |
Copyright(c) 2009-2012 Zoltan Herczeg |
50 |
misrepresented as being the original software. |
All rights reserved. |
51 |
|
|
|
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. |
|
52 |
|
|
53 |
The documentation for PCRE, supplied in the "doc" directory, is distributed |
THE C++ WRAPPER FUNCTIONS |
54 |
under the same terms as the software itself. |
------------------------- |
55 |
|
|
56 |
|
Contributed by: Google Inc. |
57 |
|
|
58 |
|
Copyright (c) 2007-2012, Google Inc. |
59 |
|
All rights reserved. |
60 |
|
|
61 |
|
|
62 |
|
THE "BSD" LICENCE |
63 |
|
----------------- |
64 |
|
|
65 |
|
Redistribution and use in source and binary forms, with or without |
66 |
|
modification, are permitted provided that the following conditions are met: |
67 |
|
|
68 |
|
* Redistributions of source code must retain the above copyright notice, |
69 |
|
this list of conditions and the following disclaimer. |
70 |
|
|
71 |
|
* Redistributions in binary form must reproduce the above copyright |
72 |
|
notice, this list of conditions and the following disclaimer in the |
73 |
|
documentation and/or other materials provided with the distribution. |
74 |
|
|
75 |
|
* Neither the name of the University of Cambridge nor the name of Google |
76 |
|
Inc. nor the names of their contributors may be used to endorse or |
77 |
|
promote products derived from this software without specific prior |
78 |
|
written permission. |
79 |
|
|
80 |
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
81 |
|
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
82 |
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
83 |
|
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE |
84 |
|
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
85 |
|
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
86 |
|
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
87 |
|
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
88 |
|
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
89 |
|
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
90 |
|
POSSIBILITY OF SUCH DAMAGE. |
91 |
|
|
92 |
End |
End |