1 This regular expression package was originally developed by Henry Spencer.
 
   2 It bears the following copyright notice:
 
   4 **********************************************************************
 
   6 Copyright (c) 1998, 1999 Henry Spencer.  All rights reserved.
 
   8 Development of this software was funded, in part, by Cray Research Inc.,
 
   9 UUNET Communications Services Inc., Sun Microsystems Inc., and Scriptics
 
  10 Corporation, none of whom are responsible for the results.  The author
 
  13 Redistribution and use in source and binary forms -- with or without
 
  14 modification -- are permitted for any purpose, provided that
 
  15 redistributions in source form retain this entire copyright notice and
 
  16 indicate the origin and nature of any modifications.
 
  18 I'd appreciate being given credit for this package in the documentation
 
  19 of software which uses it, but that is not a requirement.
 
  21 THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
 
  22 INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
 
  23 AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
 
  24 HENRY SPENCER BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 
  25 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
 
  26 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
 
  27 OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
 
  28 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
 
  29 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
 
  30 ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
  32 **********************************************************************
 
  34 PostgreSQL adopted the code out of Tcl 8.4.1.  Portions of regc_locale.c
 
  35 and re_syntax.n were developed by Tcl developers other than Henry; these
 
  36 files bear the Tcl copyright and license notice:
 
  38 **********************************************************************
 
  40 This software is copyrighted by the Regents of the University of
 
  41 California, Sun Microsystems, Inc., Scriptics Corporation, ActiveState
 
  42 Corporation and other parties.  The following terms apply to all files
 
  43 associated with the software unless explicitly disclaimed in
 
  46 The authors hereby grant permission to use, copy, modify, distribute,
 
  47 and license this software and its documentation for any purpose, provided
 
  48 that existing copyright notices are retained in all copies and that this
 
  49 notice is included verbatim in any distributions. No written agreement,
 
  50 license, or royalty fee is required for any of the authorized uses.
 
  51 Modifications to this software may be copyrighted by their authors
 
  52 and need not follow the licensing terms described here, provided that
 
  53 the new terms are clearly indicated on the first page of each file where
 
  56 IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY
 
  57 FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
 
  58 ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
 
  59 DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
 
  60 POSSIBILITY OF SUCH DAMAGE.
 
  62 THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
 
  63 INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
 
  64 FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.  THIS SOFTWARE
 
  65 IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE
 
  66 NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
 
  69 GOVERNMENT USE: If you are acquiring this software on behalf of the
 
  70 U.S. government, the Government shall have only "Restricted Rights"
 
  71 in the software and related documentation as defined in the Federal 
 
  72 Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2).  If you
 
  73 are acquiring the software on behalf of the Department of Defense, the
 
  74 software shall be classified as "Commercial Computer Software" and the
 
  75 Government shall have only "Restricted Rights" as defined in Clause
 
  76 252.227-7013 (c) (1) of DFARs.  Notwithstanding the foregoing, the
 
  77 authors grant the U.S. Government and others acting in its behalf
 
  78 permission to use and distribute the software in accordance with the
 
  79 terms specified in this license. 
 
  81 **********************************************************************
 
  83 Subsequent modifications to the code by the PostgreSQL project follow
 
  84 the same license terms as the rest of PostgreSQL.
 
  86 ****************************************************************************
 
  87 PostgreSQL Database Management System
 
  88 (formerly known as Postgres, then as Postgres95)
 
  90 Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
 
  92 Portions Copyright (c) 1994, The Regents of the University of California
 
  94 Permission to use, copy, modify, and distribute this software and its
 
  95 documentation for any purpose, without fee, and without a written agreement
 
  96 is hereby granted, provided that the above copyright notice and this
 
  97 paragraph and the following two paragraphs appear in all copies.
 
  99 IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR
 
 100 DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING
 
 101 LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS
 
 102 DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE
 
 103 POSSIBILITY OF SUCH DAMAGE.
 
 105 THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
 
 106 INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
 
 107 AND FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS
 
 108 ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO
 
 109 PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 
 110 ****************************************************************************
 
 111 And if that's not enough, changes made from wxWindows are put under the 
 
 113 ****************************************************************************
 
 114                 wxWindows Library Licence, Version 3
 
 115                 ====================================
 
 117   Copyright (C) 1998 Julian Smart, Robert Roebling [, ...]
 
 119   Everyone is permitted to copy and distribute verbatim copies
 
 120   of this licence document, but changing it is not allowed.
 
 122                        WXWINDOWS LIBRARY LICENCE
 
 123      TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
 
 125   This library is free software; you can redistribute it and/or modify it
 
 126   under the terms of the GNU Library General Public Licence as published by
 
 127   the Free Software Foundation; either version 2 of the Licence, or (at
 
 128   your option) any later version.
 
 130   This library is distributed in the hope that it will be useful, but
 
 131   WITHOUT ANY WARRANTY; without even the implied warranty of
 
 132   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library
 
 133   General Public Licence for more details.
 
 135   You should have received a copy of the GNU Library General Public Licence
 
 136   along with this software, usually in a file named COPYING.LIB.  If not,
 
 137   write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
 
 138   Boston, MA 02111-1307 USA.
 
 142   1. As a special exception, the copyright holders of this library give
 
 143   permission for additional uses of the text contained in this release of
 
 144   the library as licenced under the wxWindows Library Licence, applying
 
 145   either version 3 of the Licence, or (at your option) any later version of
 
 146   the Licence as published by the copyright holders of version 3 of the
 
 149   2. The exception is that you may use, copy, link, modify and distribute
 
 150   under the user's own terms, binary object code versions of works based
 
 153   3. If you copy code from files distributed under the terms of the GNU
 
 154   General Public Licence or the GNU Library General Public Licence into a
 
 155   copy of this library, as this licence permits, the exception does not
 
 156   apply to the code that you add in this way.  To avoid misleading anyone as
 
 157   to the status of such modified files, you must delete this exception
 
 158   notice from such code and/or adjust the licensing conditions notice
 
 161   4. If you write modifications of your own for this library, it is your
 
 162   choice whether to permit this exception to apply to your modifications. 
 
 163   If you do not wish that, you must delete the exception notice from such
 
 164   code and/or adjust the licensing conditions notice accordingly.
 
 165 ****************************************************************************