Add simple README and LICENSE info from testregex.c

This commit is contained in:
Gregory Burd 2020-08-14 23:00:13 -04:00
parent 1e81c00cd1
commit afc34c4aba
3 changed files with 30 additions and 0 deletions

18
LICENSE Normal file
View file

@ -0,0 +1,18 @@
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of THIS SOFTWARE FILE (the "Software"), to deal in the Software
* without restriction, including without limitation the rights to use,
* copy, modify, merge, publish, distribute, and/or sell copies of the
* Software, and to permit persons to whom the Software is furnished to do
* so, subject to the following disclaimer:
*
* THIS SOFTWARE IS PROVIDED BY AT&T ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
* IN NO EVENT SHALL AT&T BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

12
README Normal file
View file

@ -0,0 +1,12 @@
regex(3) test harness
build: cc -o testregex testregex.c
help: testregex --man
note: REG_* features are detected by #ifdef; if REG_* are enums
then supply #define REG_foo REG_foo for each enum REG_foo
Glenn Fowler <gsf@research.att.com>
AT&T Research
PLEASE: publish your tests so everyone can benefit

View file