Case sensitive

I made this patch to perform keyword based search in the names of the scenes of a liveset and select the first scene containing that keyword. For now the search is case sensitive, is there a way to make that this is not the case ?

– Pasted Max Patch, click to expand. –

Copy all of the following text. Then, in Max, select New From Clipboard.