
re4asm (regression) tests.

testregex.sh and basic.dat have been obtained from:

http://www2.research.att.com/~gsf/testregex/

Both files have been adapted for regex testing with trgrep.

In basic.dat, all regexes that are currently not supported by re4asm
are commented out and a short description of the reason is given above each.
To see all unsupported regexes just do a "grep -E ^# basic.dat"
The actual testfile mybasic.dat has been obtained by doing a
"grep -Ev ^# basic.dat > mybasic.dat" and removing the additional submatch
ranges at the end of all lines.

Usage: ./testregex.sh

testregex assumes that trgrep is in your path and the file mybasic.dat is in
the same folder as testregex.sh.

If everything went fine, testregex exits with exit code 0.
If an error occurs, an (appropriate) error message is displayed.
