safeXai interview question

How do you make a regex case insensitive?