JavaScript RegExp yoksayCase
Örnek
let pattern = /W3S/i;
let result = pattern.ignoreCase;
Tanım ve Kullanım
Yok sayma özelliği, "i" değiştiricisinin ayarlanıp ayarlanmadığını belirtir .
Bu özellik, "i" değiştiricisi ayarlanmışsa true değerini, aksi takdirde false değerini döndürür.
Tarayıcı Desteği
ignoreCase
bir ECMAScript1 (ES1) özelliğidir.
ES1 (JavaScript 1997) tüm tarayıcılarda tam olarak desteklenir:
Chrome | IE | Edge | Firefox | Safari | Opera |
Yes | Yes | Yes | Yes | Yes | Yes |
Sözdizimi
RegExpObject.ignoreCase
Geri dönüş değeri
Type | Description |
---|---|
Boolean | Returns true if the "i" modifier is set, false otherwise |