made regex compiler case insensitive