Hi, I've searched the documentation and the threads but I can't seem to find a good example. I want to do a search for a substring where I want a match to occur regardless of the case. For example.
String = "I am glad today is Friday"
pattern = "friday"
I want to "find" and match the above string even if the word is spelled Friday, FRIDAY, or some other combination of upper and lower case. It would seem that CASE_INSENSITIVE being set would do this but I can't find any examples of using it and it keeps giving me errors when I try to use it.
Thanks
String = "I am glad today is Friday"
pattern = "friday"
I want to "find" and match the above string even if the word is spelled Friday, FRIDAY, or some other combination of upper and lower case. It would seem that CASE_INSENSITIVE being set would do this but I can't find any examples of using it and it keeps giving me errors when I try to use it.
Thanks