Make regex expressions case insensitive where appropriate for easier reading.