made regex case insensitive