| 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 6 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-2000 University of Cambridge |
Copyright (c) 1997-2006 University of Cambridge |
| 26 |
|
All rights reserved. |
| 27 |
|
|
| 28 |
|
|
| 29 |
|
THE C++ WRAPPER FUNCTIONS |
| 30 |
|
------------------------- |
| 31 |
|
|
| 32 |
Permission is granted to anyone to use this software for any purpose on any |
Contributed by: Google Inc. |
|
computer system, and to redistribute it freely, subject to the following |
|
|
restrictions: |
|
| 33 |
|
|
| 34 |
1. This software is distributed in the hope that it will be useful, |
Copyright (c) 2005, Google Inc. |
| 35 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
All rights reserved. |
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|
| 36 |
|
|
|
2. The origin of this software must not be misrepresented, either by |
|
|
explicit claim or by omission. In practice, this means you must put |
|
|
a sentence like this |
|
| 37 |
|
|
| 38 |
Regular expression support is provided by the PCRE library package, |
THE "BSD" LICENCE |
| 39 |
which is open source software, copyright by the University of |
----------------- |
|
Cambridge. |
|
| 40 |
|
|
| 41 |
somewhere reasonably visible in your documentation and in any relevant |
Redistribution and use in source and binary forms, with or without |
| 42 |
files. A reference to the ftp site for the source should also be given |
modification, are permitted provided that the following conditions are met: |
| 43 |
|
|
| 44 |
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ |
* Redistributions of source code must retain the above copyright notice, |
| 45 |
|
this list of conditions and the following disclaimer. |
| 46 |
|
|
| 47 |
in the documentation. |
* 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 |
3. Altered versions must be plainly marked as such, and must not be |
* Neither the name of the University of Cambridge nor the name of Google |
| 52 |
misrepresented as being the original software. |
Inc. nor the names of their contributors may be used to endorse or |
| 53 |
|
promote products derived from this software without specific prior |
| 54 |
|
written permission. |
| 55 |
|
|
| 56 |
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" |
| 57 |
General Purpose Licence (GPL), then the terms of that licence shall |
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 58 |
supersede any condition above with which it is incompatible. |
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 |