

	This file tests search commands.

	Please press the space bar to continue, or CTRL-A to exit

-1"eex'

	Test some simple searches


hk iabcdefghi j
forward search for 1st char  sa .-1"e passed
 | failed!!!
 '
forward search for 4th char  sd .-4"e passed
 | failed!!!
'
forward search for last char  si .-9"e passed
 | failed!!!
'
backwards search for 4th char  -sd .-4"e passed
 | failed!!!
'
backwards search for 1st char  -sa .-1"e passed
 | failed!!!
'


	Please press the space bar to continue, or CTRL-A to exit

-1"eex'

	Test the ^Ea match construct


test 1  jsa .-1"e passed
 | failed!!!
'
test 2  jsba .-3"e passed
 | failed!!!
'
test 3  jsha .-9"e passed
 | failed!!!
'
test 4  jsbad .-4"e passed
 | failed!!!
'
test 5  jsbaaa .-5"e passed
 | failed!!!
'
test 6  jsaaaaaaaaa .-9"e passed
 | failed!!!
'
hk
0i1i2i3i4i5i6i7i8i9i10i11i12i13i14i15i16i17i
18i19i20i21i22i23i24i25i26i27i28i29i30i31i
i !"#$%&'()*+,-./0123456789:;<=>?@[\]^_`{|}~127iiA
test 7  jsa .-77"e passed
 | failed!!!
'

	Test the ^Eb match construct


hki!@#$%&*()
jsb.-1"etest 1 passed
|test 1 failed!!!
'
js!b.-2"etest 2 passed
|test 2 failed!!!
'
js(b.-9"etest 3 passed
|test 3 failed!!!
'
js!b#.-3"etest 4 passed
|test 4 failed!!!
'
js!bbb.-4"etest 5 passed
|test 5 failed!!!
'
jsbbbbbbbbb.-9"etest 6 passed
|test 6 failed!!!
'
hkiABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!
jsb.-63"etest 7 passed
|test 7 failed!!!
'

	Please press the space bar to continue, or CTRL-A to exit

-1"eex'

	Test the ^Ec match construct


hkiabcdefghi
jsc.-1"etest 1 passed
|test 1 failed!!!
'
jsbc.-3"etest 2 passed
|test 2 failed!!!
'
jshc.-9"etest 3 passed
|test 3 failed!!!
'
jsbcd.-4"etest 4 passed
|test 4 failed!!!
'
jsbccc.-5"etest 5 passed
|test 5 failed!!!
'
jsccccccccc.-9"etest 6 passed
|test 6 failed!!!
'
hk0i1i2i3i4i5i6i7i8i9i10i11i12i13i14i15i16i17i
18i19i20i21i22i23i24i25i26i27i28i29i30i31i
i !"#%&'()*+,-/:;<=>?@[\]^`{|}~127iiA
jsc.-64"etest 7 passed
|test 7 failed!!!
'
hki0123456789$.
jscccccccccccc.-12"etest 8 passed
|test 8 failed!!!
'

	Test the ^Ed match construct


hki0123456789
jsd.-1"etest 1 passed
|test 1 failed!!!
'
js1d.-3"etest 2 passed
|test 2 failed!!!
'
js8d.-10"etest 3 passed
|test 3 failed!!!
'
js2d4.-5"etest 4 passed
|test 4 failed!!!
'
js2ddd.-6"etest 5 passed
|test 5 failed!!!
'
jsdddddddddd.-10"etest 6 passed
|test 6 failed!!!
'
hk0i1i2i3i4i5i6i7i8i9i10i11i12i13i14i15i16i17i
18i19i20i21i22i23i24i25i26i27i28i29i30i31i
i !"#$%&'()*+,-./:;<=>?@ABCDEFGHIJKLMNOPQRSTU
iVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~127ii0
jsd.-119"etest 7 passed
|test 7 failed!!!
'

	Please press the space bar to continue, or CTRL-A to exit

-1"eex'

	Test the ^Eg match construct


^Uadef
hkiabcdefghi
jsGa.-4"etest 1 passed
|test 1 failed!!!
'
0^Ua1:^Ua2:^Ua3:^Ua4:^Ua5:^Ua6:^Ua7:^Ua8:^Ua9:^Ua10:^Ua11:^Ua
12:^Ua13:^Ua14:^Ua15:^Ua16:^Ua17:^Ua18:^Ua19:^Ua20:^Ua21:^Ua
22:^Ua23:^Ua24:^Ua25:^Ua26:^Ua27:^Ua28:^Ua29:^Ua30:^Ua31:^Ua
:^Ua !"#$%&'()*+,-./0123456789:;<=>?@JKLMNOPQRSTU
:^UaVWXYZ[\]^_`jklmnopqrstuvwxyz{|}127i
j:sga"ftest 2 passed
|test 2 failed!!!
'
hkiabcdefghi@
jsga.-10"etest 3 passed
|test 3 failed!!!
'
hki@
jsga.-1"etest 4 passed
|test 4 failed!!!
'

	Test the ^El match construct



!10 is line feed, 11 is vertical tab, 12 is form feed!

hk10i10i10i10i10i10i10i10i11i12i
jsl.-1"etest 1 passed
|test 1 failed!!!
'
hkixx10i10i10i10i10i10i10i11i12i
jsxxl.-3"etest 2 passed
|test 2 failed!!!
'
hkixxxxxxxx11i12i
jsl.-10"etest 3 passed
|test 3 failed!!!
'
hk10i10i10i10i10i10i10i10i11i12i
jsllllllllll.-10"etest 4 passed
|test 4 failed!!!
'
hk0i1i2i3i4i5i6i7i8i9i13i14i15i16i17i18i19i20i21i22i
23i24i25i26i27i28i29i30i31i
i !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTU
iVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~127i12i
jsl.-126"etest 5 passed
|test 5 failed!!!
'

	Please press the space bar to continue, or CTRL-A to exit

-1"eex'

	Test the ^Er match construct


hki0123456789
jsr.-1"etest 1 passed
|test 1 failed!!!
'
js1r.-3"etest 2 passed
|test 2 failed!!!
'
js8r.-10"etest 3 passed
|test 3 failed!!!
'
js2r4.-5"etest 4 passed
|test 4 failed!!!
'
js2rrr.-6"etest 5 passed
|test 5 failed!!!
'
jsrrrrrrrrrr.-10"etest 6 passed
|test 6 failed!!!
'
hk0i1i2i3i4i5i6i7i8i9i10i11i12i13i14i15i16i17i
18i19i20i21i22i23i24i25i26i27i28i29i30i31i
i !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~127iia
jsr.-67"etest 7 passed
|test 7 failed!!!
'

	Please press the space bar to continue, or CTRL-A to exit

-1"eex'

	Test the ^Es match construct


hki 
jss.-1"etest 1 passed
|test 1 failed!!!
'
hkiab cde
jsbs.-3"etest 2 passed
|test 2 failed!!!
'
hkiab     de
jss.-7"etest 3 passed
|test 3 failed!!!
'
hkiab	de
jsbsd.-4"etest 4 passed
|test 4 failed!!!
'
hkiab  		  		de
jsbsd.-11"etest 5 passed
|test 5 failed!!!
'
hk0i1i2i3i4i5i6i7i8i10i11i12i13i14i15i16i17i18i
19i20i21i22i23i24i25i26i27i28i29i30i31i
i!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ
i[\]^_`abcdefghijklmnopqrstuvwxyz{|}~127ii 
jss.-127"etest 6 passed
|test 6 failed!!!
'

	Test the ^Ev match construct


hkiabcdefghij
jsv.-1"etest 1 passed
|test 1 failed!!!
'
jsabv.-3"etest 2 passed
|test 2 failed!!!
'
jsiv.-10"etest 3 passed
|test 3 failed!!!
'
jsbvd.-4"etest 4 passed
|test 4 failed!!!
'
jsbvvv.-5"etest 5 passed
|test 5 failed!!!
'
jsvvvvvvvvvv.-10"etest 6 passed
|test 6 failed!!!
'
hk0i1i2i3i4i5i6i7i8i9i10i11i12i13i14i15i16i17i
18i19i20i21i22i23i24i25i26i27i28i29i30i31i
i !"#$%&'()*+,-./:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`{|}~127iia
jsv.-93"etest 7 passed
|test 7 failed!!!
'

	Please press the space bar to continue, or CTRL-A to exit

-1"eex'

	Test the ^Ew match construct


hkiABCDEFGHIJ
jsw.-1"etest 1 passed
|test 1 failed!!!
'
jsabw.-3"etest 2 passed
|test 2 failed!!!
'
jsiw.-10"etest 3 passed
|test 3 failed!!!
'
jsbwd.-4"etest 4 passed
|test 4 failed!!!
'
jsbwww.-5"etest 5 passed
|test 5 failed!!!
'
jswwwwwwwwww.-10"etest 6 passed
|test 6 failed!!!
'
hk0i1i2i3i4i5i6i7i8i9i10i11i12i13i14i15i16i17i
18i19i20i21i22i23i24i25i26i27i28i29i30i31i
i !"#$%&'()*+,-./:;<=>?@[\]^_`abcdefghijklmnopqrstuvwxyz{|}~127iiA
jsw.-93"etest 7 passed
|test 7 failed!!!
'

	Test the ^Ex match construct


hki0123456789
jsx.-1"etest 1 passed
|test 1 failed!!!
'
js1x.-3"etest 2 passed
|test 2 failed!!!
'
js8x.-10"etest 3 passed
|test 3 failed!!!
'
js2x4.-5"etest 4 passed
|test 4 failed!!!
'
js2xxx.-6"etest 5 passed
|test 5 failed!!!
'
jsxxxxxxxxxx.-10"etest 6 passed
|test 6 failed!!!
'

	Please press the space bar to continue, or CTRL-A to exit

-1"eex'

	Test the ^N match construct


hkiaaaaaaaaab
jsa.-10"etest 1 passed
|test 1 failed!!!
'
jsa^Na.-10"etest 2 passed
|test 2 failed!!!
'
hkiAAAbAAA
jsaaa.-5"etest 3 passed
|test 3 failed!!!
'
hki0123456789x9876543210
jsd.-11"etest 4 passed
|test 4 failed!!!
'
hkiABCDEFGHIJKLMNOPQRSTUVWXYZaZZZZZ
js^N^EW.-27"etest 5 passed
|test 5 failed!!!
'
hkiabcdefghijklmnopqrstuvwxyz#oooo
jsv.-27"etest 6 passed
|test 6 failed!!!
'

	Test the ^S match construct


hki!@#$%&*()
js^S.-1"etest 1 passed
|test 1 failed!!!
'
js!^S.-2"etest 2 passed
|test 2 failed!!!
'
js(^S.-9"etest 3 passed
|test 3 failed!!!
'
js!^S#.-3"etest 4 passed
|test 4 failed!!!
'
js!^S^S^S.-4"etest 5 passed
|test 5 failed!!!
'
js^S^S^S^S^S^S^S^S^S.-9"etest 6 passed
|test 6 failed!!!
'
hkiABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!
js^S.-63"etest 7 passed
|test 7 failed!!!
'

	Please press the space bar to continue, or CTRL-A to exit

-1"eex'

	Test the ^X match construct


hki0123456789
js^X.-1"etest 1 passed
|test 1 failed!!!
'
js1^X.-3"etest 2 passed
|test 2 failed!!!
'
js8^X.-10"etest 3 passed
|test 3 failed!!!
'
js2^X4.-5"etest 4 passed
|test 4 failed!!!
'
js2^x^x^x.-6"etest 5 passed
|test 5 failed!!!
'
js^X^x^x^X^X^X^X^X^X^X.-10"etest 6 passed
|test 6 failed!!!
'

	The remaining tests test features not found in TECO-11.

eo-99"lexiting.
oexit'

	Test the ^Em match construct


hkiabcdefghi
jsma.-1"etest 1 passed
|test 1 failed!!!
'
jsmd.-4"etest 2 passed
|test 2 failed!!!
'
jsmi.-9"etest 3 passed
|test 3 failed!!!
'
hkiabbbbbc
jsmb.-6"etest 4 passed
|test 4 failed!!!
'
jsa^Embc.-7"etest 5 passed
|test 5 failed!!!
'
jsabbbbb^Emc.-7"etest 6 passed
|test 6 failed!!!
'

	Test the ^E<nnn> match construct


hkiabcdefghi
js<141>.-1"etest 1 passed
|test 1 failed!!!
'
jsb<143>.-3"etest 2 passed
|test 2 failed!!!
'
jsh<151>.-9"etest 3 passed
|test 3 failed!!!
'
jsb<143>d.-4"etest 4 passed
|test 4 failed!!!
'
jsb<143><144><145>.-5"etest 5 passed
|test 5 failed!!!
'
js<141><142><143><144><145><146><147><150><151>.-9"etest 6 passed
|test 6 failed!!!
'
hk0i1i2i3i4i5i6i7i8i9i10i11i12i13i14i15i16i17i
18i19i20i21i22i23i24i25i26i27i28i29i30i31i
i !"#$&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTU
iVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~127ii%
js<45>.-128"etest 7 passed
|test 7 failed!!!
'

	Please press the space bar to continue, or CTRL-A to exit

-1"eex'

	Test the ^E[a,b,c...] match construct ???


hki!@#$%&*()
js[a,b,%,d].-5"etest 1 passed
|test 1 failed!!!
'
js![a,b,c,@].-2"etest 2 passed
|test 2 failed!!!
'
js([)].-9"etest 3 passed
|test 3 failed!!!
'
js![a,b,c,d,e,f,g,h,i,j,k,l,m,@]#.-3"etest 4 passed
|test 4 failed!!!
'
js!^S^S^S.-4"etest 5 passed
|test 5 failed!!!
'
js^S^S^S^S^S^S^S^S^S.-9"etest 6 passed
|test 6 failed!!!
'
hkiABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!
js^S.-63"etest 7 passed
|test 7 failed!!!
'
!exit!
ex
