ignoreCase

Summary

Returns whether the regular expression will perform a case-insensitive match.

Usage

public property bool ignoreCase()

Returns

true if the regular expression will perform a case-insensitive match and false otherwise.

Description

Returns whether the regular expression has the "i" flag and perform a case-insensitive match.

Examples

Basic Usage
1
2
3
4
import System;
 
System.RegExp re = new System.RegExp(/abc/i);
Console.log(re.ignoreCase); // true

Share

HTML | BBCode | Direct Link