| 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 7 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. |
| 13 |
|
|
| 14 |
|
|
| 15 |
|
THE BASIC LIBRARY FUNCTIONS |
| 16 |
|
--------------------------- |
| 17 |
|
|
| 18 |
|
Written by: Philip Hazel |
| 19 |
|
Email local part: ph10 |
| 20 |
|
Email domain: cam.ac.uk |
| 21 |
|
|
| 22 |
University of Cambridge Computing Service, |
University of Cambridge Computing Service, |
| 23 |
Cambridge, England. Phone: +44 1223 334714. |
Cambridge, England. Phone: +44 1223 334714. |
| 24 |
|
|
| 25 |
Copyright (c) 1997-2003 University of Cambridge |
Copyright (c) 1997-2006 University of Cambridge |
| 26 |
|
All rights reserved. |
| 27 |
|
|
| 28 |
|
|
| 29 |
|
THE C++ WRAPPER FUNCTIONS |
| 30 |
|
------------------------- |
| 31 |
|
|
| 32 |
|
Contributed by: Google Inc. |
| 33 |
|
|
| 34 |
|
Copyright (c) 2006, Google Inc. |
| 35 |
|
All rights reserved. |
| 36 |
|
|
| 37 |
|
|
| 38 |
|
THE "BSD" LICENCE |
| 39 |
|
----------------- |
| 40 |
|
|
| 41 |
|
Redistribution and use in source and binary forms, with or without |
| 42 |
|
modification, are permitted provided that the following conditions are met: |
| 43 |
|
|
| 44 |
|
* Redistributions of source code must retain the above copyright notice, |
| 45 |
|
this list of conditions and the following disclaimer. |
| 46 |
|
|
| 47 |
|
* Redistributions in binary form must reproduce the above copyright |
| 48 |
|
notice, this list of conditions and the following disclaimer in the |
| 49 |
|
documentation and/or other materials provided with the distribution. |
| 50 |
|
|
| 51 |
Permission is granted to anyone to use this software for any purpose on any |
* Neither the name of the University of Cambridge nor the name of Google |
| 52 |
computer system, and to redistribute it freely, subject to the following |
Inc. nor the names of their contributors may be used to endorse or |
| 53 |
restrictions: |
promote products derived from this software without specific prior |
| 54 |
|
written permission. |
|
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. |
|
| 55 |
|
|
| 56 |
The documentation for PCRE, supplied in the "doc" directory, is distributed |
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
| 57 |
under the same terms as the software itself. |
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 58 |
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 59 |
|
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE |
| 60 |
|
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| 61 |
|
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
| 62 |
|
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
| 63 |
|
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
| 64 |
|
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| 65 |
|
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
| 66 |
|
POSSIBILITY OF SUCH DAMAGE. |
| 67 |
|
|
| 68 |
End |
End |