Name
RegExp.ignoreCase — whether a regular expression is case-insensitive
Availability
JavaScript 1.2; JScript 5.5; ECMAScript v3
Synopsis
regexp
.ignoreCase
Description
ignoreCase
is a read-only boolean property of
RegExp objects. It specifies whether a particular regular expression
performs case-insensitive matching; i.e.,whether it was created with
the i
attribute.
Get JavaScript: The Definitive Guide, Fourth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.