Whether or not the "i" flag is used with the regular expression.
Property of RegExp
Read-only
Description
ignoreCase is a property of an individual regular expression object.
The value of ignoreCase is true if the "i" flag was used; otherwise, false. The "i" flag indicates that case should be ignored while attempting a match in a string.
You cannot change this property directly. However, calling the RegExp.compile method changes the value of this property.