token #0: testid1
token #1: TESTID2
token #2: TestId3
token #3: \n
token #4: .
testing string: testid1
TESTID1
TestId1
testid2
TESTID2
TeStId2
TestId3
testid3
TESTID3
tEsTiD3
testid4

matched token #0 :testid1
matched token #3 :

matched token #0 :TESTID1
matched token #3 :

matched token #0 :TestId1
matched token #3 :

matched token #1 :testid2
matched token #3 :

matched token #1 :TESTID2
matched token #3 :

matched token #1 :TeStId2
matched token #3 :

matched token #2 :TestId3
matched token #3 :

matched token #2 :testid3
matched token #3 :

matched token #2 :TESTID3
matched token #3 :

matched token #2 :tEsTiD3
matched token #3 :

matched token #4 :t
matched token #4 :e
matched token #4 :s
matched token #4 :t
matched token #4 :i
matched token #4 :d
matched token #4 :4
matched token #3 :

testing string: testid1
TESTID1
TestId1
testid2
TESTID2
TeStId2
TestId3
testid3
TESTID3
tEsTiD3
testid4

matched token #0 :testid1
matched token #3 :

matched token #0 :TESTID1
matched token #3 :

matched token #0 :TestId1
matched token #3 :

matched token #1 :testid2
matched token #3 :

matched token #1 :TESTID2
matched token #3 :

matched token #1 :TeStId2
matched token #3 :

matched token #2 :TestId3
matched token #3 :

matched token #2 :testid3
matched token #3 :

matched token #2 :TESTID3
matched token #3 :

matched token #2 :tEsTiD3
matched token #3 :

matched token #4 :t
matched token #4 :e
matched token #4 :s
matched token #4 :t
matched token #4 :i
matched token #4 :d
matched token #4 :4
matched token #3 :

