[#3860] Allow to specify defaults for all regular expression flags in the code generation configuration. Add CASE_INSENSITIVE to defaults