RedirFile FILE,DRIVER('ASCII'),NAME(Glo:FilePath),PRE(RED),CREATE,BINDABLE,THREAD
Record RECORD,PRE()
Line STRING(4096)
END
END
Loc:RegExSection CSTRING(1024)
Code
Loc:RegExSection = '\[[a-zA-Z0-9 ]+\]' !Works
Loc:RegExSection = '\[[A-Z0-9 ]+\]' !Doesnt work
Loc:StrPos = StrPos(Red:Line,Loc:RegExSection,1)
So according to the help docs, the mode in the strpos() is supposed to be a case sensitive toggle or switch. 0 or False = case sensitive, 1 or True = not case sensitive.
So when I use the 2nd Loc:RegExSection, with mode= true, it doesnt work, I have to use the lower case a-z range which is seen in the first Loc:RegExSection to get it to work.
Are there certain things which prevent ānot case sensitiveā searches from working like using a [a-z] range?
TIA