Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for RegExp.prototype.ignoreCase.
Developer library 6
Firefox 38 release notes for developers
tring() now escape regular expression patterns properly (e.g., line terminators, "\n") ([Firefox bug 1130860](https://bugzil.la/1130860)). - The RegExp global, ignoreCase, multiline, and sticky properties are now prototype accessor properties rather than own data properties of `RegExp` instances ([Firefox bug 1120169](https://bugzil.la/1120169)). - The RegExp.prototype.source property is now prototype accessor proper
Deprecated and obsolete features
| global | Whether or not to test the regular expression against all possible matches in a string, or only against the first. | | ignoreCase | Whether or not to ignore case while attempting a match in a string. | | lastIndex | The index at which to start the next match.
RegExp
e first. - RegExp.prototype.hasIndices - : Whether the regular expression result exposes the start and end indices of captured substrings. - RegExp.prototype.ignoreCase - : Whether to ignore case while attempting a match in a string. - RegExp.prototype.multiline - : Whether or not to search in strings across multiple lines. - RegExp.prototype.source - : The text of the pattern. - RegExp.prototype.sticky - :
RegExp.prototype.sticky
res/ecmascript/string-regexp) - RegExp.prototype.lastIndex - RegExp.prototype.dotAll - RegExp.prototype.global - RegExp.prototype.hasIndices - RegExp.prototype.ignoreCase - RegExp.prototype.multiline - RegExp.prototype.source - RegExp.prototype.unicode
RegExp.prototype.dotAll
ps://core-js.io/docs/features/ecmascript/string-regexp) - RegExp.prototype.lastIndex - RegExp.prototype.global - RegExp.prototype.hasIndices - RegExp.prototype.ignoreCase - RegExp.prototype.multiline - RegExp.prototype.source - RegExp.prototype.sticky - RegExp.prototype.unicode
RegExp.prototype.ignoreCase
The **`ignoreCase`** accessor property of RegExp instances returns whether or not the `i` flag is used with this regular expression. JavaScript Demo: RegExp.prototype.ignoreCase ```js interactive-example const regex1 = /foo/; const regex2 = /foo/i; console.log(regex1.test("Football")); // Expected output: false console.log(regex2.ignoreCase); // Expected output: true console.log(regex2.test("Football")); // Expe