regexFlags added