For example, how do you set the i flag to perform a case insensitive match? Is it even possible?
i
In code I would usually do something like /needle
/needle
In the find panels, selecting the "Match Case" option turns a case-insensitive search into a case-sensitive search. So if the option is not selected, the search is case-insensitive.
Match Case